Inability to use #folder and #file for context in GitHub Copilot Chat #159093
Unanswered
ShlomiAmichay
asked this question in
Copilot Conversations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Copilot Feature Area
VS Code
Body
I'm encountering an issue with Copilot Chat in my vscode IDE where I seem to have lost the ability to reference files and folders directly in the chat prompt using the # syntax (specifically #folder and #file).
Previously, I was able to use #folder and #file to easily provide context from specific directories or files within my workspace, after writing #folder/#file a file selection text box would open and I was able to look for the relevant file/directory I was searching. This was a crucial part of my workflow for asking questions and adding context directly in my prompt (instead of adding context manually and reference the file/folder name in the prompt
As of yesterday, this functionality no longer appears to work. Typing # in the chat prompt does not bring up suggestions for #file or #folder.
I'm still able to reference files using # and typing the file name/folder name, but since I work on a big monorepo, some files have the same names, and due to a very nested folder structure, the suggestion window is to narrow to contain the whole path which makes it hard to figure out if I'm selecting the right file/folder.
My vscode is up to date, the change that triggered this issue was the end of my co-pilot personal subscription, followed by me moving to a subscription managed by my organization. worth mentioning that other developers in my organization are using this feature and it works as expected.
Losing this ability significantly impacts my ability to effectively use Copilot for context-aware assistance within my projects. Any information or guidance on how to restore or replace this functionality would be greatly appreciated.
Thank you for your time and support.
Best regards,
Shlomi
Beta Was this translation helpful? Give feedback.
All reactions