Repository navigation
Description
GitHub Copilot provides no definitive feedback of whether a custom prompt was used in a submitted prompt or not.
- Create
default.instructions.mdusingapplyTo: '**'. - Submit a prompt such as "Print
hello.". GitHub Copilot will show "Used 1 reference" as expected, indicatingdefault.instructions.md. - Create a custom prompt in a file such as
foo.prompt.md. - Submit a prompt such as "/foo Print
world.".
Expected: GitHub Copilot will show "Used 2 references", indicating default.instructions.md and foo.prompt.md.
Actual: GitHub Copilot still shows "Used 1 reference", indicating default.instructions.md.
How do know if it used my custom prompt or not, if it doesn't indicate that it used that reference?
In the above scenario, the prompt was changed to say "Follow instructions in foo.prompt.md." Your initial reaction might be that this is a sufficient indication that the prompt was used. But it is not sufficient. It is just prompt text. Maybe I copied and pasted that text into the prompt and forgot about it, for example.
Because of this bug, if the LLM didn't tell me, it would be difficult to know whether GitHub Copilot actually linked the custom prompt foo.prompt.md? Apparently the previous link was broken, so that the custom prompt link turned into the raw text [foo.prompt.md](vscode-userdata:/c%3A/Users/user/AppData/Roaming/Code/User/prompts/foo.prompt.md) which the LLM could not access directly, rather than an actual linked custom prompt, which is a second bug—originally filed as part of this bug, which I have now split out and filed separately as #293403.
Version: 1.108.0 (user setup)
Commit: 94e8ae2b28cb5cc932b86e1070569c4463565c37
Date: 2026-01-08T13:53:10.781Z
Electron: 39.2.7
ElectronBuildId: 12953945
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200
Version: 1.109.0 (user setup)
Commit: bdd88df003631aaa0bcbe057cb0a940b80a476fa
Date: 2026-02-04T02:01:38.288Z
Electron: 39.3.0
ElectronBuildId: 13168319
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Activity
[-]GitHub Copilot doesn't reflect usage of custom prompt, has bugs when editing[/-][+]GitHub Copilot doesn't reflect usage of custom prompt, and breaks custom prompt link when editing[/+]satyendra1135-gif commentedon Jan 10, 2026
"editor.quickSuggestions": {
"comments": false,
"strings": true,
"other": true
}
garretwilson commentedon Feb 6, 2026
This is something that is unquestionably broken, and impacts work day-to-day. Martin Aeschlimann (@aeschli) is there some reason why this isn't getting priority?
garretwilson commentedon Feb 6, 2026
Martin Aeschlimann (@aeschli) was it confusing that I mentioned two related issues in the same ticket? I will create a separate ticket to make this clearer. This is an outright broken interface that lowers productivity.
[-]GitHub Copilot doesn't reflect usage of custom prompt, and breaks custom prompt link when editing[/-][+]GitHub Copilot doesn't reflect usage of custom prompt[/+]