Skip to content

Copilot *.instructions.md files are not attached to the context #249886

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

Open
atachh opened this issue May 27, 2025 · 0 comments
Open

Copilot *.instructions.md files are not attached to the context #249886

atachh opened this issue May 27, 2025 · 0 comments
Assignees

Comments

@atachh
Copy link

atachh commented May 27, 2025

Does this issue occur when all extensions are disabled?: Not applicable (related to Copilot extensions)

  • VS Code Version: 1.100.2
  • OS Version: MacOS 15.3.2 (24D81)

Steps to Reproduce:

  1. Open a fresh workspace
  2. Create a new Instructions file using the Command Palette -> Chat: New Instructions file
  3. Leave the applyTo as default value (all files) and add your rules (for me that was "Say 'hey' when the user starts a conversation")
  4. Create any file in the workspace, such as index.js and leave it empty
  5. Open Copilot Chat window and write any prompt

Expected result:
The prompt file is attached to the context

Actual result:
The prompt file is ignored

It used to work for everyone in our team last week and this week it doesn't work for any of us. It's worth noting that if you create a .github/copilot-instructions.md file, it will always be attached as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants