claude-vscode.primaryEditor.open command declared in manifest but not registered in extension
Bug Description
The command claude-vscode.primaryEditor.open ("Claude Code: Open in Primary Editor") is declared in the extension's package.json but has no corresponding registerCommand handler in the extension runtime. Binding a keyboard shortcut to it and executing it fails with "command not known".
Steps to Reproduce
- Open VSCode keyboard shortcuts (
Cmd+K Cmd+S) - Add a keybinding for command
claude-vscode.primaryEditor.open - Press the bound key
Expected Behavior
Claude Code opens in the primary editor column.
Actual Behavior
Error: command claude-vscode.primaryEditor.open is not known / not executed.
Evidence
The command appears in package.json contributes:
{ "command": "claude-vscode.primaryEditor.open", "title": "Claude Code: Open in Primary Editor" }
But scanning extension.js for all registered claude-vscode.* command strings shows it is absent — every other declared command is present except this one.
Commands actually registered at runtime:
claude-vscode.editor.openclaude-vscode.editor.openLastclaude-vscode.sidebar.openclaude-vscode.window.openclaude-vscode.terminal.openclaude-vscode.focus/claude-vscode.blurclaude-vscode.newConversationclaude-vscode.insertAtMentionclaude-vscode.logoutclaude-vscode.showLogs- etc.
claude-vscode.primaryEditor.open is not in this list.
Environment
- Extension version: 2.1.61 (darwin-arm64)
- VSCode: latest
- OS: macOS
Workaround
Use claude-vscode.editor.openLast or claude-vscode.editor.open as a substitute until the handler is implemented.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗