What if vscode writes vue code without a code hint?
This article will explain in detail how to write vue code without code tips for everyone. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.
I. Install plug-ins
There is a button on the left to install plugins. Click it to install plugins through keyword search.
II. Plug-in configuration
File =》Preferences =》Settings =》User Settings
III. Plug-ins
vetur
Function: Code hint, highlight
Configuration:
"emmet.syntaxProfiles": { "vue-html": "html", "vue": "html" }
ESLint
Function: Code error checking
Configuration:
"eslint.validate": [ "javascript", "javascriptreact", { "language": "html", "autoFix": true // HTML autofix, }, { "language": "vue", "autoFix": true // vue Auto Fix } ], "eslint.autoFixOnSave": true //autofix when file is saved
File Peek
Function: Path jump
Configuration:
"file_peek.activeLanguages": [ "typescript", "javascript", "python", "vue"],"file_peek.searchFileExtensions": [ ".js", ".ts", ".html", ".css", ".scss", ".vue"] About "vscode writing vue code without code tips how to do" This article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.