-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the snippets will be triggered under Chinese input mode #26
Comments
my operating system is win10 |
What do you mean by the snippets are triggered? What is the expected behavior here? And what did actually happen? |
I changed the way we handle automatic snippet expansions, as it is now, I'd have to look for a way to detect if you are using the chinese input mode, and if so ignore the auto completions. Do you know of such a library? I honestly have no idea where to start looking. How can I trigger the chinese input mode myself? |
I really wanna help, but I have no idea at all.😅 |
Is the chinese input an external program or is it native to your OS? |
It comes with Win10. |
I know what the issue @lancerXXXX is facing. He is using the Microsoft IME which will turn your typed english characters into Chinese, but those English words will appear in the vscode typing area first so it will be detected by hypersnips. I think that is issue is hard to fix because it is just how the IME works. Maybe you can detect the state of input method but... hard to say if it's a good idea. |
Thanks for the feedback @sffred, I guess this is out of scope for this extension then, if anyone is facing this issue I'd suggest to change the snippet activation to Chinese characters, or otherwise to avoid using English word activations that would conflict with the IME keyboard. |
This kind of problem never happened before.
The text was updated successfully, but these errors were encountered: