[BUG] command 'claude-vscode.editor.openLast' not found
Status Fixed / completed
Reported on v2.1.52
Maintainer reply None cached
Activity 13 comments · opened Feb 24, 2026 · closed Feb 25, 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 Claude code extension(v 2.1.52) or the latest version in VS Code is giving pop up "command 'claude-vscode.editor.openLast' not found" when clicked on "Claude Code: Open" button on the top right corner of the IDE.
Older versions don't have this issue.
$ claude -v
2.1.51 (Claude Code)
What Should Happen?
Upon clicking on the "Claude Code: Open" button on the top right corner of the IDE(VS Code), a Claude chat window should open.
Error Messages/Logs
command 'claude-vscode.editor.openLast' not found
Steps to Reproduce
- Open the VS Code,
- Make sure you have claude code installed and latest extension is installed and enabled,
- Click on "Claude Code: Open" button on the top right corner of the IDE,
- A small pop up notification will be generated at bottom right corner of the IDE saying "command 'claude-vscode.editor.openLast' not found".
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.51 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
13 Comments
same error happening on my side as well just downgrade the extension it will work
uninstall the extension then install it , it fixed it for me
I encountered the same issue. Uninstall then reinstall didn't solve this for me, even after trying twice and reloading window. The CLI tool was still working and I asked it to diagnose the issue. It mentioned something about there being a hard-coded linux address, which was also mentioned in the prior bug report.
Finally got fixed by installing an older version of Claude Code 2.1.49
+1
This issue is still present with v2.1.53 on Windows, I can only fall back to v2.1.49
+1
I encountered this issue with v2.1.53.
Uninstalling the extension and reinstalling it downgraded the version to 2.1.52; but it resolved the issue.
Uninstall this extension and install v.2.1.52 can solve the problem. BTW if my workspace have used claude code before i can still use it😂
@Kk-Ling i try reinstalling multiple times it's not work but now try v.2.1.52 now its work for me thanks
I have tried uninstall, re-install, down grade to v2.1.52 works for me
Still happen on 2.1.55. Finally I reinstall 2.1.49 and disable auto-update
Thank you for your patience, v2.1.56 fixes the VS Code crash.
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.