[BUG] VS Code extension hijacks "View: Toggle Maximized Panel" command

Resolved 💬 2 comments Opened Nov 21, 2025 by brenc Closed Nov 21, 2025

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?

Looks like starting with 2.0.42, the CC VS Code extension started to hijack the "View: Toggle Maximized Panel" command in VS Code. When this command is triggered via a kb shortcut (doesn't seem to matter which, I use cmd + m), VS Code focuses on CC instead of maximizing the terminal (which is how I have it set up). I've looked all over for some config to adjust this but there doesn't appear to be any. The only workaround I've found so far is to switch back to the terminal (or go back to 2.0.37).

What Should Happen?

The CC VS Code extension pane should NOT focus when the VS Code "View: Toggle Maximized Panel" command is run.

Error Messages/Logs

Steps to Reproduce

  1. In VS Code, set the View: Toggle Maximized Panel keyboard shortcut to cmd + m (or whatever)
  2. Open a file in VS Code
  3. Open a CC pane
  4. Focus on terminal
  5. Press cmd + m

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.37

Claude Code Version

2.0.49

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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