[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

  1. Open the VS Code,
  2. Make sure you have claude code installed and latest extension is installed and enabled,
  3. Click on "Claude Code: Open" button on the top right corner of the IDE,
  4. 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_

View original on GitHub ↗

13 Comments

sonu-rathinfotech · 6 months ago

same error happening on my side as well just downgrade the extension it will work

husammek · 6 months ago

uninstall the extension then install it , it fixed it for me

Pehz63 · 6 months ago

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

upcomingsimplecoder · 6 months ago

+1

ygjoe · 6 months ago

This issue is still present with v2.1.53 on Windows, I can only fall back to v2.1.49

yhemeo613 · 6 months ago

+1

rts2-work · 6 months ago

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.

Kk-Ling · 6 months ago

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😂

sakjanonkk · 6 months ago

@Kk-Ling i try reinstalling multiple times it's not work but now try v.2.1.52 now its work for me thanks

Joseph-Colvile · 6 months ago

I have tried uninstall, re-install, down grade to v2.1.52 works for me

VentiHu · 6 months ago

Still happen on 2.1.55. Finally I reinstall 2.1.49 and disable auto-update

shawnm-anthropic · 6 months ago

Thank you for your patience, v2.1.56 fixes the VS Code crash.

github-actions[bot] · 5 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.