Skip to content

GitHub Copilot doesn't reflect usage of custom prompt #286920

Open

Description

GitHub Copilot provides no definitive feedback of whether a custom prompt was used in a submitted prompt or not.

  1. Create default.instructions.md using applyTo: '**'.
  2. Submit a prompt such as "Print hello.". GitHub Copilot will show "Used 1 reference" as expected, indicating default.instructions.md.
  3. Create a custom prompt in a file such as foo.prompt.md.
  4. 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

  1. added
    chat-ext-issue
    on Jan 10, 2026
  2. removed
    chat-ext-issue
    on Jan 10, 2026
  3. changed the title [-]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[/+] on Jan 10, 2026
  4. satyendra1135-gif commented on Jan 10, 2026

    @satyendra1135-gif

    "editor.quickSuggestions": {
    "comments": false,
    "strings": true,
    "other": true
    }

  5. garretwilson commented on Feb 6, 2026

    @garretwilson
    Author

    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?

  6. garretwilson commented on Feb 6, 2026

    @garretwilson
    Author

    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.

  7. changed the title [-]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[/+] on Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions