[BUG] VSCode extension keyboard shortcut "Toggle Claude Code" doesn't toggle

Resolved 💬 3 comments Opened Jan 22, 2026 by rahmanunver Closed Feb 27, 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?

While trying to replace the default keyboard shortcut of VSCode to toggle directly into Claude Code chat window in the secondary sidebar, found out that the extensions keyboard shortcut does not toggle the view as the title suggests, instead focuses in the input field of Claude Code view in the secondary sidebar, following key calls only re-focus the same input.

Command Title: "View: Toggle Claude Code"
Command ID: workbench.view.extension.claude-sidebar-secondary

What Should Happen?

Would expect it to work as a toggle, like the default "View: Toggle Chat" shortcut(Cmd+L); workbench.panel.chat.

Steps to Reproduce

  1. Go to Keyboard Shortcuts settings in VSCode.
  2. Search for View: Toggle Claude Code.
  3. Assign a keybinding.
  4. See that it doesn't have toggle behavior.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.16

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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