Skip to content

feat: prompt file searching#21

Merged
cachebag merged 3 commits into
masterfrom
feat/multiple-file-prompt
May 24, 2026
Merged

feat: prompt file searching#21
cachebag merged 3 commits into
masterfrom
feat/multiple-file-prompt

Conversation

@LOTaher
Copy link
Copy Markdown
Collaborator

@LOTaher LOTaher commented May 23, 2026

Added file fuzzy searching within the prompt window. Significant changes to note:

  • Created a new path module that contains all path related functions. I moved a few from tags as it seemed like a better fit in path. Feel free to push back on this.
  • If the cwd is not a git project, then parse all available files (currently, even from directories like node_modules) and show them in the cmp completion window.
    • I did not change how the completion buffer can be navigated, so navigate using arrow keys and pressing enter.
  • Separated @ lsp detection entirely when parsing the @.
Screen.Recording.2026-05-23.at.3.23.38.AM.mov

refs:

completes #20, which is (kinda) needed for #19

@LOTaher LOTaher force-pushed the feat/multiple-file-prompt branch from 1dcc4fa to f9afed2 Compare May 23, 2026 16:20
@LOTaher LOTaher force-pushed the feat/multiple-file-prompt branch from dbce561 to 9fef38d Compare May 23, 2026 16:34
@LOTaher LOTaher marked this pull request as ready for review May 23, 2026 16:42
@LOTaher LOTaher requested a review from cachebag as a code owner May 23, 2026 16:42
Copy link
Copy Markdown
Owner

@cachebag cachebag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cachebag cachebag merged commit f78ba21 into master May 24, 2026
3 checks passed
@cachebag cachebag deleted the feat/multiple-file-prompt branch May 24, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants