[BUG] VSCode Extension: "Insert @-Mention Reference" and "Insert At-Mentioned" keyboard shortcuts not working on Windows (v2.1.7)

Status Fixed / completed
Reported on v2.1.4
Maintainer reply None cached
Activity 6 comments · opened Jan 14, 2026 · closed Jan 14, 2026

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:

  1. alt+k binding for claude-vscode.insertAtMention is disabled (has - prefix)
  2. ctrl+alt+k binding for claude-code.insertAtMentioned has conflicting entries (both active and disabled)
  3. VSCode's keybindings.editor.recordSearchKeys is intercepting alt+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_

View original on GitHub ↗

6 Comments

istarkov · 7 months ago

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 ;-)

YANGJOONWOO · 7 months ago
Executing command from CMD-P menu is not working also <img alt="Image" width="661" height="116" src="https://private-user-images.githubusercontent.com/5077042/535458857-12191eb4-0ac6-4169-9a05-fdb91a92eafd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjgzNzYyMzksIm5iZiI6MTc2ODM3NTkzOSwicGF0aCI6Ii81MDc3MDQyLzUzNTQ1ODg1Ny0xMjE5MWViNC0wYWM2LTQxNjktOWEwNS1mZGI5MWE5MmVhZmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDExNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAxMTRUMDczMjE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmJiNzc5MjhmNDc0NWQxZGZmOGNlMmQ3NTQwMWQ4MDJjMzVjNWNiZTA1YTg2NDAzMTc5NzFkMDdmYWRlYzMwNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.C-ykD_pK48ml8-v693K1XGDapB1-x4tTjCkZ6Vu2FKY"> 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.

km-tr · 7 months ago

I’m using Cursor on my Mac, and I’m experiencing the same issue.

Stas-Buzunko · 7 months ago

not working on mac os as well
setting to cmd + esc doesn't help as well

kvr06-ai · 7 months ago

+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.

github-actions[bot] · 7 months ago

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.