Add current line diagnostics to copilotchat context #1438
Answered
by
deathbeam
YousefHadder
asked this question in
Q&A
-
I'm trying to figure out a keymap that toggles the chat and provides the current line diagnostics as context, and asks copilot to solve it. |
Beta Was this translation helpful? Give feedback.
Answered by
deathbeam
Sep 24, 2025
Replies: 1 comment
-
You can just use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
deathbeam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just use
#diagnostics:selection
and it will include diagnostics in your current selection