vscode: `editor.experimentalEditContextEnabled` doesn't work well with Google IME's suggestion handling

Version: 1.94.0-insider Commit: f4746c94726e157c9b6534f1355d163ca4efcb38 Date: 2024-09-13T05:04:25.154Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Darwin arm64 22.6.0

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Set "editor.experimentalEditContextEnabled": true
  2. Enable Google IME for Japanese.
  3. Type sennseikonnnitiha
  4. Type Space repeatedly.
  5. The result is unexpected one. Suggestions by Google IME repeats, and VS Code Insiders doesn’t handle it properly. The expected one is just 先生今日は.

https://github.com/user-attachments/assets/9cb8fa6b-a826-42a1-9f45-c4f6de4e6119

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

I have confirmed that both issues are fixed. Thank you.

Version: 1.94.0 Commit: 464f63c2f7ec85dfa7c1946ba62994072945cef2 Date: Unknown Electron: 30.5.1 ElectronBuildId: undefined Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 22.6.0

I see. I can reproduce the same issue with the latest VS Code Insiders:

Version: 1.94.0-insider Commit: 1926933184de3f77ac7176e9fc302c54bd9634b0 Date: 2024-09-23T05:12:01.964Z Electron: 30.5.0 ElectronBuildId: 10198947 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 22.6.0

I can reproduce the similar issue with macOS Japanese IME.

Version: 1.94.0-insider Commit: 4f485cf59847506bc1ba2aaab127d31dcbe2c9dc Date: 2024-09-18T09:24:10.356Z Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Google Chrome: 129.0.6668.59(Official Build) (arm64) ProductName: macOS ProductVersion: 13.7 BuildVersion: 22H123 IME: macOS Japanese IME

  1. Set "editor.experimentalEditContextEnabled": true
  2. Enable macOS Japanese IME.
  3. Type sennseikonnnitiha
  4. Type ↑ and ↓ repeatedly.

When the number of characters of the suggested item changes, from 2 to 4, and from 4 to 2, the issue seems occur.

https://github.com/user-attachments/assets/e217fa8d-8bc4-4f76-994e-f168e5c8625a