Ctrl+Alt+K Shortcut Fails to Insert Selected Code into Claude Terminal
Status Closed — not planned
Maintainer reply None cached
Activity 13 comments · opened Jul 24, 2025 · closed Apr 16, 2026
Bug Description
The shortcut Ctrl+Alt+K (Claude Code: Insert At-Mentioned) does not work, it has an error that when I select the code in vs code and press the shortcut it goes to Claude's terminal but without the code reference.
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 1.0.59
- Feedback ID: cecf86b7-10b6-4e86-a71d-d7bc43a22dcb
Errors
[]
13 Comments
Same here
<img width="751" height="414" alt="Image" src="https://github.com/user-attachments/assets/9e7cb46e-a529-4ec3-be7a-7770f01aefe8" />
change to "Ctrl+Alt+Shift+K"
same in vscode
Version: 1.7.54
VSCode Version: 1.99.3
Commit: 5c17eb2968a37f66bc6662f48d6356a100b67be0
Date: 2025-10-21T19:07:38.476Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0
Still no solution? It is such a basic feature and it always bugs out and opens a new window instead of referencing
Same problem here.
<img width="365" height="205" alt="Image" src="https://github.com/user-attachments/assets/c01b969c-17fb-4c14-81cb-776307cb92cc" />
so sad ,I don't know when it became unusable, 1.0124
Try change terminal to gitbash. Works for me
Same problem here.
This needs a bit of local investigation before attempting to fix it in Claude Code (though Claude Code can help).
I tried reinstalling the plugin and clearing the cache, including ~/.claude/ide, but that didn’t help.
Then I ran /ide in Claude, selected my IDE, and got “Cannot connect to IDE”. After a quick debugging session, I realized I’m using a proxy and needed to add 127.0.0.1 (in addition to localhost) to no_proxy. After restarting the terminal, everything works perfectly.
I’d recommend opening a separate terminal, running the claude command, then typing /ide, selecting your IDE, and posting the result here.
the quick fix is to run vscode command "Terminal: Relaunch Active Terminal".
I think the claude code extension needs to attach to the terminal in order for the hoteky to work, but without restarting the terminal the extension can't access it. either the activation sequence is wrong, ie: claude code extension then terminal, causing not attaching on first run. Or, the cc extension is not successfully restarting/starting the terminal.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
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.