VS Code extension v2.1.129: command 'claude-vscode.editor.openLast' not found on Windows
Resolved 💬 21 comments Opened May 6, 2026 by hardikd-ajmerainfotech Closed May 6, 2026
💡 Likely answer: A maintainer (claude[bot], contributor)
responded on this thread — see the highlighted reply below.
Description
Clicking the Claude Code button in the VS Code sidebar produces the error:
command 'claude-vscode.editor.openLast' not found
The extension appears to fail to activate properly on Windows, making the VS Code UI unusable.
Environment
| Field | Value |
|-------|-------|
| Claude Code Extension | v2.1.129 (anthropic.claude-code) |
| VS Code | 1.118.1 (user setup) |
| Commit | 034f571df509819cc10b0c8129f66ef77a542f0e |
| Electron | 39.8.8 |
| OS | Windows 11 (Windows_NT x64 10.0.26200) |
Steps to Reproduce
- Install Claude Code extension v2.1.129 on VS Code 1.118.1 (Windows 11)
- Click the Claude Code icon/button in the VS Code sidebar or activity bar
Expected Behavior
Claude Code panel opens in VS Code.
Actual Behavior
Error notification appears:
command 'claude-vscode.editor.openLast' not found
Additional Notes
- This error was previously reported for v2.1.51 (issues #28053, #28060, #28081) and is apparently still present or has regressed in v2.1.129
- The CLI (
claudein terminal) works fine — only the VS Code extension UI button is broken - Extension was updated 21 minutes before the error was observed (auto-update may have introduced the regression)
21 Comments
I encounter exactly the same issue on Claude v2.1.129. Works normally when I downgraded to 2.1.128. Im using Windows 11, VS Code 1.118.1
downgrading to 2.1.128 resolves the issue.
@danendral @leonardassist How I will downgrade the claude from v2.1.129 to v2.1.128
Hi @hamza2026, u can go to extension icon at the left sidebar and find claude code, then click on the drop down of uninstall button there and select install specific version, you can find the v2.1.128 there.
But you can't use your plugin if you downgrade to lower version. That's another annoying points
same issue bro. tired
@edwardkao6413 Seems like I can still use my plugin in lower version v2.1.128?
I've disabled the auto update feature due to this issue.
@danendral What's your Claude code version ? I can still use my plugin in Terminal mode, but not in vscode chat mode.
Mine Claude code is v2.1.129, but extension is v2.1.128.
Same.
Same.why does Anthropic keep making the same mistakes?
Downgrading to v2.1.128 fixed it for me.
我使用ai对这个问题进行了分析修复,但是我不知道是否具有普遍性,不过我的这个bug确实已经好转,可以使用,目前没有发现有什么其他的问题
I used AI to analyze and fix this problem, but I don't know if it is universal. However, my bug has indeed improved and can be used, and no other issues have been found so far.
claude-code-v2.1.129-win-bug-report.md
claude-code-v2.1.129-win-bug-report-en.md
This is a duplicate of #56501, which was fixed as of version 2.1.131.
Thanks, it's working on version 2.1.131🎉
Still broken in v2.1.136 on Windows 10.
Regression introduced between v2.1.133 and v2.1.136. Clicking the Claude Code sidebar button produces:
command 'claude-vscode.editor.openLast' not foundRolling back to v2.1.133 restores functionality.
v2.1.136 still has this issue - rolled back to v2.1.135 on Win 11 and this version works.
I've got this with 2.1.136 on Win 11 as well
Workaround for Windows users blocked by the
createRequirepolyfill bug (versions 2.1.135-136):Extension activates normally again. Tested on Windows 11.
Error seen in DevTools console before downgrade:
It was working for me the last week.
Today, it stopped working when I opened up my 3rd VSCode window. It stopped working even after a restart. I waited a bit, and now it's working again!
I'm getting this with 2.1.138 on Win 11 as well, but uninstalling then reinstalling the extension seemed to work.
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.