sdras / vue-vscode-snippets

These snippets were built to supercharge my workflow in the most seamless manner possible.
https://marketplace.visualstudio.com/items?itemName=sdras.vue-vscode-snippets
MIT License
1.33k stars 185 forks source link

Remove scss as default style lang attribute in vbase #44

Closed gilesbutler closed 5 years ago

gilesbutler commented 5 years ago

Hey,

Thanks for the awesome snippets! I'm not sure when this changed, fairly recently, but the style's lang attribute in vbase now defaults to scss. I have to delete it every time I use vbase which is pretty often. Can we revert it back to what it was if possible?

Thanks

<style lang="scss" scoped>

</style>
lyfan13 commented 5 years ago

vuejson you can fix it by change edit this extension's json file . for my computer the {vue.json} , I change the 'scss' to 'stylus' . in my computer this json file' directory is "C:\Users\Administrator.vscode\extensions\sdras.vue-vscode-snippets-1.6.0\snippets\vue.json" , you can find your own then.

gilesbutler commented 5 years ago

Ah ok, thanks @lyfan13 - I'm on a mac so I'll try find that file.

Won't this get overwritten though if the extension updates?

Edit: On a mac it's located at /Users/XXXXX/.vscode/extensions/sdras.vue-vscode-snippets-1.6.0/snippets/vue.json