[BUG] VSCode Extension: "Insert @-Mention Reference" and "Insert At-Mentioned" keyboard shortcuts not working on Windows (v2.1.7)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The keyboard shortcuts for "Claude Code: Insert @-Mention Reference" (Alt+K) and "Claude Code: Insert At-Mentioned" (Ctrl+Alt+K) are not working in the VSCode extension on Windows.
When pressing Alt+K or Ctrl+Alt+K with text selected in the editor, nothing happens. The commands appear in the Command Palette and can be executed manually, but the keyboard shortcuts do not trigger them.
After investigating keybindings.json, I found:
alt+kbinding forclaude-vscode.insertAtMentionis disabled (has-prefix)ctrl+alt+kbinding forclaude-code.insertAtMentionedhas conflicting entries (both active and disabled)- VSCode's
keybindings.editor.recordSearchKeysis interceptingalt+k
These shortcuts worked correctly until January 13, 2026 but stopped after the extension update.
What Should Happen?
- Custom keybindings should persist and work correctly after extension updates
- Pressing my custom Alt+K with text selected should insert an @-mention reference with the file path and line numbers directly into the chat prompt
- Pressing my custom Ctrl+Alt+K with text selected should insert the selected code reference into the Claude terminal
Both custom shortcuts should work without being overridden or disabled by extension updates.
Error Messages/Logs
Steps to Reproduce
- Custom keybindings should persist and work correctly after extension updates
- Pressing my custom Alt+K with text selected should insert an @-mention reference with the file path and line numbers directly into the chat prompt
- Pressing my custom Ctrl+Alt+K with text selected should insert the selected code reference into the Claude terminal
Both custom shortcuts should work without being overridden or disabled by extension updates.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.4
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
6 Comments
Executing command from CMD-P menu is not working also
<img width="661" height="116" alt="Image" src="https://github.com/user-attachments/assets/12191eb4-0ac6-4169-9a05-fdb91a92eafd" />
Regression has started at 2.1.6, on 2.1.5 everything is ok.
This was the only feature I've used in extension to paste results into the cli ;-)
Thanks a lot for taking the time to suggest these steps—really appreciate it.
I tried everything you mentioned on Windows (VSCode extension v2.1.7), but unfortunately the shortcuts still don’t work on my side.
“Insert @-Mention Reference”: still doesn’t insert anything.
“Insert At-Mentioned”: also doesn’t insert the selected code/text.
If you have any other ideas to try (or if there’s a way to collect logs that could help), I’m happy to test and share results.
I’m using Cursor on my Mac, and I’m experiencing the same issue.
not working on mac os as well
setting to cmd + esc doesn't help as well
+1 - I see this in MacOS with the VS Code extension. As @istarkov noted, the issue started in v2.1.6.
Until the fix is in place for the latest version, the temporary workaround would be to downgrade the Claude Code extension to v2.1.5 (or below). Insert @-Mention Reference works fine here. I just tested.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.