Do these work for Visual Studio or these are for VS Code only? #203
Replies: 4 comments 2 replies
-
Custom instructions and prompt files should work https://learn.microsoft.com/en-us/visualstudio/ide/copilot-chat-context?view=vs-2022#enable-custom-instructions Can't find references to custom chat mode support in https://learn.microsoft.com/en-us/visualstudio/ide/copilot-agent-mode?view=vs-2022 |
Beta Was this translation helpful? Give feedback.
-
FOR INSTRUCTIONS: It looks like Visual Studio 2022 (17.14.14) currently only recognizes a single copilot-instructions.md file placed at the root level of .github. I've tested using an instructions folder with multiple files, but VS2022 doesn't seem to support that structure at this time. If you're trying to modularize or organize your instructions, you might need to consolidate them into the main file copilot-instructions.md for now. Hopefully future updates will expand support for folder-based instruction sets. |
Beta Was this translation helpful? Give feedback.
-
Excellent news. Thanks for the info. |
Beta Was this translation helpful? Give feedback.
-
Sadly, Visual Studio 2022 (17.14.15) the first "September release" doesn't support separate instruction files. Still only the single main file. Github copilot says:
Totally skipping the .github/instructions/csharp.instructions.md file that is also available. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I use Visual Studio for Unity game development. There's a lot of instructions I have to remind copilot about each time I use it in my project. Would love to have instructions in .md files for it to always use as context.
Beta Was this translation helpful? Give feedback.
All reactions