microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.35k stars 28.6k forks source link

Can not insert code block after <script> #36211

Closed songxing10000 closed 6 years ago

songxing10000 commented 6 years ago

This will not work image

I understand the insertion of the code block, can insert code in any location, there is a solution

aeschli commented 6 years ago

Inside the code block only JavaScipt templates will show up. -> Use Preferences > User Snippets > JavaScript

songxing10000 commented 6 years ago

it works, when you use vscode write weex ,you should also eidt the files vue.jsonvue-html.jsoncss.jsonjavascript.jsonhtml.json