-
Notifications
You must be signed in to change notification settings - Fork 3
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
autocomplete+math mode. #16
Comments
Well, Vsnips does not support options like 'wA' currently.
Now that you have mentioned these options, I will start looking for some ways to support it. |
Well, I have tested this code snippet in my vscode and I am sure that the code snippet is registered by vsnips. The reason it doesn't show up in the completion list is because vscode cannot handle prefixes like These options( |
Well, there are two questions on this issue. Firstly, you want to use the python function in vsnips . I'm sorry that it will be not supported even in the future. For vsnips's user, I'd like to recommend to write Secondly, custom-context is not supported yet, and maybe I could find methods to support, but I cannot guarantee it. A good way to know the context is to write a |
Well, thanks for your issues, maybe next time you can split it into different issues and it will be easier to track. |
Thank you very much for your responses. I will be sure to split up questions next time! |
Well, in Vsnips 0.4.1 the 'A'(auto trigger) option is supported, but it may be not recommended because it would damage the performance. Now that this issue is open, I offer you a solution. Firstly, you need to set {
"Vsnips.EnableAutoTrigger": true
} And as for auto-trigger options, you must contains the 'w' with 'A'. let me give you an example:
the option must be 'iwA'('iA' will not work). |
There are three issues that I have. The first is the functionality for automatic snippets (no tab complete) in ultisnips. For example:
should not require tab-complete in vscode but it does.
The second issue is that if you use snippets without alphanumerical characters, vsnips does not register them. An example:
The previous snippet will just not register.
The final issue is some of the python integration. The following is a very useful latex function:
Sorry for the bad formatting.
This does not register, and basically vsnips cannot tell the difference between mathmode and prose mode via these functions. In particular:
will just run whether I am in math mode or not.
Thank you for reading!
The text was updated successfully, but these errors were encountered: