44
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VS Codeをv1.101.0にアップデートしたら日本語入力の変換がおかしくなる問題を解決する ※v1.102.0でパラメータ名が変わった

44
Last updated at Posted at 2025-06-18

エラーの内容

VS Codeをv1.101.0にアップデートしたところ,日本語入力の変換がおかしくなってしまった。
調査したところ,VimのExtensionsをオンにしている時だけ以下の事象が発生する。

  1. 「きどうせんしがんだむ」と入力
  2. 「機動戦士ガンダム」に変換してEnterを押す
  3. 「きどうせんしがんだむ」と入力されてしまう。

tmp.gif


解決方法

Issueを立てて見たところ,VS Codeの設定のデフォルト値が変更になったことが原因だと教えていただいた。圧倒的感謝!

そのため,以下の設定をsettings.jsonに追加すれば良い。

2025年7月11日追記

コメント欄で@ogawa65a さんに教えていただきました。
v1.102.0からパラメータの名前がeditor.experimentalEditContextEnabledから下記に変更されています。

settings.json
    "editor.editContext": false

自分の環境だと、このパラメータ設定なしでもVim Extensionsと干渉した際の動作は再現されませんでした。
デフォルト値がオフに戻ったわけではなさそうなので、設定をコメントアウトして様子見してみます。

時間差で不具合が出たのでWSLのUbuntu 22.04と通常のUbuntu 22.04両方に設定を追加しました。

44
15
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
44
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?