IME: Duplicate text appears after converting Japanese input when moving caret before conversion

Open
#320,074 2 comments 0 reactions 1 assignee View on GitHub

@aiday-mar is already working on this.

Since Jun 5, 2026.

Assessment

This issue has not been assessed yet.

Description

bug editor-input-IME

Does this issue occur when all extensions are disabled?: Yes/No

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.123.0
  • OS Version: Windows 11

Steps to Reproduce:

  1. Type "あいうえお".
  2. Move the caret up or down using the arrow keys.
    • The text "あいうえお" stays in place, but the caret moves.
  3. Press the conversion key (変換).
  4. The IME shows "アイウエオ". Confirm the conversion.

Expected Behavior:
Only the converted text ("アイウエオ") should appear.
(and don't move?)

Actual Behavior:
Both the original and converted text appear:

あいうえお
アイウエオ

Two lines remain even though only one conversion was intended.

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.