Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing @ and searching for a File doesn't find specific files in a large project #692

Open
scscgit opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scscgit
Copy link

scscgit commented Sep 11, 2024

What happened?

After typing @ and selecting File, even if you type the exact name of the file, sometimes it doesn't get listed as an option. I mostly had luck immediately selecting one of the recent files without using the filter, but I can't even force the plugin to recognize a specific file as a recent.

  • By the way, there also doesn't seem to be any feature to explicitly use a file path without "clicking / pressing Enter" on the File option after @, e.g. by typing @file:MyClass.java directly as a chat input. This makes it very difficult to reuse the same set of files by copying prompts, and obviously can't be used with absolute paths.

The RightClick in code -> CodeGPT -> Include File In Context... option is also not a solution, because it only adds a single file that is currently open. And I can't find any plugin setting where I could add files to be globally available in the context, so I'm left without any workaround and can't use plugin to help with code at all.

Relevant log output or stack trace

No response

Steps to reproduce

  1. In a large project, type @, select File, and start typing the name of the file.
  2. Don't be so lucky that it quickly finds the file in your recents.

CodeGPT version

2.11.0-241.1

Operating System

Windows

@scscgit scscgit added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant