hollowtree / vscode-vue-snippets

A Vue.js 2 Snippets Extension for VSCode
https://marketplace.visualstudio.com/items?itemName=hollowtree.vue-snippets
96 stars 30 forks source link

Has conflicts with Vetur #13

Closed tereshhhchenko closed 7 years ago

tereshhhchenko commented 7 years ago

If I install both this plugin and Vetur, snippets won't work within <template>. After I disabled Vetur, I could use, for example slotE within <template>.

hollowtree commented 7 years ago

Maybe you can try add these into settings.

"files.associations": {
"*.vue": "html"
}
tereshhhchenko commented 7 years ago

Yes, it helps, but I want to have nice Intellisence and syntax highlight which is much better without this setting. I created my own snippets for slots. They work in vue as vue, not vue as html. (User Snippets => Vue Language). Maybe you would like to expand this set for Vue language as well.

hollowtree commented 7 years ago

Try update extension and remove files.associations in setting, reload vs code, has it worked as you expected?