[BUG] [VS Code Extension] Input field intercepts Ctrl+J, preventing macOS IME input source toggle (Regression in v2.1.195)
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?
In the recent update of the VS Code Extension (v2.1.195), the chat input field inside the Webview intercepts the Ctrl+J key event.
On macOS, Ctrl+J is a shortcut used by some users (specifically those using SKK-based IMEs like AquaSKK or macSKK) to toggle between English and Japanese input modes. Because the webview intercepts Ctrl+J (presumably due to Monaco Editor integration or updated key event handlers inside the VS Code Webview chat input field) and stops the key event propagation, the OS-level IME system cannot receive the event, making it impossible to switch input modes while focusing on the chat input field.
Note: This issue only occurs in the VS Code Extension version 2.1.195 (it worked perfectly fine in v2.1.193 and earlier). This is distinct from the CLI version's behavior.
Steps to Reproduce:
- Install Claude Code VS Code Extension v2.1.195.
- Focus the chat input field in the sidebar or editor panel.
- Press
Ctrl+J(while IME is in English/alphanumeric mode). - The webview intercepts the event (inserts a newline/joining lines) instead of letting the macOS IME handle it.
What Should Happen?
There should be a configuration option to disable this keyboard shortcut intercept, or the extension should avoid calling preventDefault() or stopPropagation() on Ctrl+J (especially inside the webview's input field), allowing the key event to propagate to the macOS IME.
Error Messages/Logs
Steps to Reproduce
- Install Claude Code VS Code Extension v2.1.195.
- Focus the chat input field in the sidebar or editor panel.
- Press
Ctrl+J(while IME is in English/alphanumeric mode). - The webview intercepts the event (inserts a newline/joining lines) instead of letting the macOS IME handle it.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.193
Claude Code Version
2.1.195 (VS Code Extension)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_