-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yetThis is a single bug report (please file separate reports for different bugs)I am using the latest version of Claude CodeTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
What's Wrong?
When typing in Japanese (using an IME) in the VS Code extension's chat input field, pressing the Enter key to confirm a character conversion sends the prompt prematurely. This occurs even when I am in the middle of composing a sentence, making it extremely difficult to type complex questions that require multiple text conversions.
What Should Happen?
The Enter key should not send the prompt when the Input Method Editor (IME) is active for text composition. Its only function should be to confirm the selected characters (e.g., finalizing a Kanji conversion). Sending the prompt should be a distinct action performed only after the user has finished typing.
Error Messages/Logs
No specific error messages or logs are generated. This is a UI behavioral issue.Steps to Reproduce
- Open the Claude Code extension on Mac and show the chat panel in VS Code.
- Focus on the chat input field.
- Switch the PC's input method to Japanese (turn on IME).
- Type a Japanese phrase that requires conversion, for example, "kakuchoukinou".
- As the IME suggests conversion candidates (e.g., ใๆกๅผตๆฉ่ฝใ), press the Enter key to confirm the selection.
- The prompt is immediately sent with only the confirmed text ("ๆกๅผตๆฉ่ฝ"), even though the intention was to continue typing the rest of the sentence.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.0
Platform
Other
Operating System
macOS
Terminal/Shell
Other
Additional Information
This issue occurs within the VS Code GUI (the chat input box) and is not dependent on a specific terminal or shell. This issue likely affects users of many languages that rely on an Input Method Editor (IME) where the Enter key is used for text composition, such as Chinese and Korean. This behavior significantly degrades the user experience and usability of the extension for speakers of these languages.
Activity
github-actions commentedon Sep 30, 2025
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
๐ค Generated with Claude Code
nerikosans commentedon Sep 30, 2025
Hi, thank you for opening this issue.
Let me just elaborate on the problem a little bit for clarity:
The Japanese input process involves two distinct steps: composition and conversion.
After the full text is composed, the user presses the Enter key a second time to submit the form.
Therefore, listening for all Enter key presses to trigger a submission will create confusing and unintended behavior for Japanese users. ๐ญ
FYI: https://dninomiya.github.io/form-guide/stop-enter-submit
Current behavior
Expected behavior
cotton123236 commentedon Sep 30, 2025
Same issue in Traditional Chinese!
Please fix this problem ASAP ๐ญ๐ญ