CommandCodeAI / CommandCodeAI/command-code

File picker wouldn't trigger if `@` is not the last non-space character

Open
#665 1 comment 0 reactions 1 assignee View on GitHub

@vipulgupta2048 is already working on this.

Since Aug 12, 2026.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Summary

The file picker wouldn't trigger if @ if not the last non-space character:

  • Working :
    Image
  • Not working :
    Image
Expected Behavior

File picker would trigger even if @ if not the last non-space character

Actual Behavior

File picker wouldn't trigger if @ if not the last non-space character

Steps to reproduce the issue
  1. Open cmd
  2. Type something @
  3. Observes that the file picker would open properly
    Image
  4. Clear the prompt
  5. Type something
  6. Put your cursor before the first character (s)
  7. Prepend a whitespace ( )
  8. Put your cursor before the first character ( )
  9. Type @
  10. Observe that the file picker would not open
    Image
Command Code Version

1.15.0

Operating System

Linux

Terminal/IDE

Ghostty 1.3.1

Shell

nushell

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.