[BUG] Claude code won't open in new window or tab anymore

Open 💬 3 comments Opened Jul 8, 2026 by stutek

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 broken commands (command IDs):

claude-vscode.editor.open — "Claude Code: Open in New Tab"
claude-vscode.window.open — "Claude Code: Open in New Window"
Worth mentioning in the same report (these share the same editor/window-opening path, so testing them tells the maintainers how wide the breakage is):

claude-vscode.primaryEditor.open — "Open in Primary Editor"
claude-vscode.editor.openLast — "Open"

Settings that work / are unaffected (for contrast):
claudeCode.preferredLocation — enum sidebar | panel (the two docks that still work)

VS code version: VS Code 1.127.0
Extension identity: Anthropic.claude-code v2.1.204
OS: Linux Kubuntu (Ubuntu 26.04 LTS)

Suggested report skeleton:

Commands claude-vscode.editor.open ("Open in New Tab") and claude-vscode.window.open ("Open in New Window") do nothing / fail after updating to VS Code 1.127.0. Docking via claudeCode.preferredLocation (sidebar/panel) still works. Extension Anthropic.claude-code 2.1.204, VS Code 1.127.0, Linux x64. Console error from Help → Toggle Developer Tools: <paste>.

What Should Happen?

Claude code should be able to open as new tab or in a new window so I can pull it out to a different screen instead of eating up my screen real estate.

Error Messages/Logs

Steps to Reproduce

CTRL+SHIFT+P
"coude code: open in new window"

Claude Model

_No response_

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.204

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗