Chinese IME does not work correctly with CompletionItemProvider
See original GitHub issueIf set suggestion label as a chinese text, the auto complete item will never show when input with chinese IME like sougou.
And I found that the suggestion check is triggered in ‘compositionupdate’ event instead of ‘compositionend,’ then the selection check is failed, the preSelection(typed alpha text) is after currentSelection(chinese text):
// in suggestModel.js : _onCursorChange
(!prevSelection.containsRange(this._currentSelection) && !prevSelection.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))
In vscode there is same problem. the snippets with chinese label doesn’t not work.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
“Traditional Chinese IME is not ready yet” on Windows 10
The problem is when I try to install the Microsoft Bopomofo pinyin input method under the Chinese (Taiwan) category. It will be installed....
Read more >intellisense - add completionitemprovider and keep suggestions
If this is not possible I think there is no other option than to providing all completion items yourself (including word-based suggestions).
Read more >Fixing Japanese and Chinese IME problem [EN] - /w/root
When we install Japanese or Chinese language regularly, it only has 2 icons and then IME doesn't work correctly.
Read more >Windows 10 With Chinese IME Installed Causing High CPU ...
EXE) and Chinese Traditional (ChtIME.EXE) IMEs can experience high CPU usage problems. "Some Input Method Editor (IME) may become unresponsive ...
Read more >Set up a Chinese or Cantonese input source on Mac
(You may need to scroll down.) Open Keyboard settings for me. Go to Text Input on the right, click Edit, then in the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not very familiar with IME (yet). Can you share a video and give explicit instructions of how to reproduce this issue?
Is there any solution now?