Open
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.100.2
- OS Version: macOS Sequoia 15.4.1
Steps to Reproduce:
- Create an instructions file
.github/instructions/unit-tests.instructions.md
with the following content:
---
applyTo: '**/*.go'
---
# General instructions regarding unit tests
- Add `t.Parallel()` at the beginning of each test function
- From a Go file inside a function: right click -> Copilot -> Generate Tests
- The generated test doesn't contain
t.Parallel()
When I click "View in Chat", the instructions file is not added to the context.
Relevant settings:
{
"chat.instructionsFilesLocations": {
".github/instructions": true
}
"github.copilot.chat.codeGeneration.useInstructionFiles": true
}
I would expect my instructions to be added automatically because of the applyTo.