Comments (9)
my operating system is win10
from hsnips.
What do you mean by the snippets are triggered? What is the expected behavior here? And what did actually happen?
from hsnips.
when I type in English mode, the kuang
will be triggered to become testForthisproblem
but when I type in Chinese mode, I want to print ζΉζ‘
which means box in English,
for this, I have to type fangkuang
, but the kuang
will be triggered,
In my impression, this situation has never happened before
from hsnips.
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?
from hsnips.
I really wanna help, but I have no idea at all.π
from hsnips.
Is the chinese input an external program or is it native to your OS?
from hsnips.
It comes with Win10.
from hsnips.
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.
from hsnips.
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.
from hsnips.
Related Issues (20)
- Regular Expression with underscore
- Can Not Match regular expression like: `(\S*)\.log$` "Desc" without A
- "Open snippet file for current language" command?
- ζζΆζ ζ³θ§¦ε HOT 2
- Hypersnip not always start with vscode on MacOS HOT 1
- Hide snippet suggestion
- Autocomplete failure if no language field exist in tokens/scopes HOT 1
- Escape character not working for code blocks in markdown HOT 1
- Callback is not a function when using directory
- **Description** is only visible when the snippet is selected.
- Problem with hyperref and `` ''
- Everything stop working HOT 2
- Bug Report Abw not working
- Latest hypersnips does not work for me HOT 2
- Snippets lag depending on position.
- Feature request: Configure keybindings from vscode HOT 1
- Expanding snippets inside snippets deletes tabstops HOT 46
- all.hsnips fails on C/C++ projects
- Running 'File Delete' participants Bug
- Cannot get tab stops which include choices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsnips.