Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Google Japanese Input (IME) on Mac - Suggestions Overlap w/ Text #45629
Steps to Reproduce:
See the GIF:
Does this issue occur when all extensions are disabled?: Yes
This is not an issue with the default Japanese IME that comes w/ macOS.
Update (Sep 27, 2018): Workaround
This setting seems to fix the issue. (You'll lose some functionalities)
@jrieken The suggestion box that shows up in this case is not the one for suggestWidget. This seems like a native control which I dont believe VS Code controls
Not just VSCode but Adobe Brackets seems to have the same issue as well - and for that, apparently, the issue is on CodeMirror:
If it's an Electron issue not sure if upgrading Electron to 2.x or 3.x fixes it. #45542
This was not an issue on Atom (even when Atom was using Electron 1.x).
Translating what @hiramatsu said:
Temporary workaround: go to Google Japanese Input preferences,
go to サジェスト ("suggest") and uncheck
Then click 適用 button at the bottom.
Then it no longer overlaps.
@hiramatsu @chibicode thanks for your help. This issue was caused by how we implement our editor (virtualize everything but has a tiny textarea around the virtual cursor) and Google IME doesn't work the same as the OS builtin IME. I don't have a good idea how to hint Google IME about the position but your solution works perfectly for this issue.
For anyone who is using English as system language, the preference with the workaround will look like below: