vscode vue autocomplete Code

1. Download and install the plug-in html snippets

 

 

In 2.settings.json configuration files.associations object.

Found setting.json file: File -> Preferences -> General Settings enter setting.json file editing

Then find the "Common Settings" in the files.associations objects in settings.json

Click edit flag on the left

 

In the pop-up editor editing area on the right, add the following

"files.associations": {
"*.ejs":"html",
"*.js":"html",
"*.vue":"html"
},
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages":{
"vue-html":"html",
"vue":"html"
}

 

 

 Save.

 

Guess you like

Origin www.cnblogs.com/niujie/p/12015416.html