Japanese IME (ATOK) Enter key incorrectly triggers message submission during text conversion
Resolved 💬 3 comments Opened Sep 30, 2025 by yukihisa3 Closed Oct 6, 2025
Environment
- OS: macOS (Darwin 25.0.0)
- IME: ATOK (Japanese Input Method)
- Claude Code: VS Code Extension
Problem
When using ATOK for Japanese input, pressing Enter to confirm conversion candidates is incorrectly interpreted as a command submission (message send) by Claude Code. This causes incomplete messages to be sent in the middle of composing text.
Expected Behavior
The extension should distinguish between:
- Enter key pressed during IME composition (for confirming conversion) - should NOT submit
- Enter key pressed after IME composition is complete - should submit message
Steps to Reproduce
- Open Claude Code chat interface
- Use ATOK to type Japanese text
- Press Enter to confirm a conversion candidate
- The message is sent prematurely instead of just confirming the conversion
Technical Context
This is a common issue with VS Code extensions that don't properly handle IME compositionstart, compositionupdate, and compositionend events. The extension needs to track the IME composition state and ignore Enter key events during active composition.
Workaround
Currently using alternative text input methods and pasting, but this significantly impacts workflow efficiency for Japanese users.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗