corvofeng / Vsnips

Ultisnips for vscode
38 stars 3 forks source link

How to make it work with Latex workshop ? #25

Open medwatt opened 4 years ago

medwatt commented 4 years ago

Hello,

I've been playing with this extension and seems to work as described. I created a tex.snippets file but it doesn't seem to be detected inside a tex document. The all.snippets gets detected fine. I am using Latex workshop to parse the tex documents. How can I get this extension to work if I don't want to put all the code inside the all.snippets?

corvofeng commented 4 years ago

I'm sorry I didn't reply to you in time, I didn't check the issue page often!

If you use latex workshop, the vscode will consider it syntax as latex.

image

Well, if you want use snippets for latex, you may need to create the snippet file named latex.snippets.

image

1

corvofeng commented 4 years ago

I noticed that you had mentioned the tex.snippets. In this project https://github.com/honza/vim-snippets, there are only tex.snippets. I would like to add the tex.snippets for latex, so that user can use both latex or tex snippets.