Tab tab of the taskbar, File--->Preferences--->Settings
Set as shown below:
Note Don't write it wrong, it's a full-width and half-width problem. You can directly copy the following content:
"emmet.syntaxProfiles": { "vue-html":"html", "vue":"html" }
Note: After v1.15.1, you must write it as follows:
"emmet.triggerExpansionOnTab": true, "emmet.includeLanguages": { "vue-html": "html", "vue": "html" }
After configuring, just restart vscode.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of The tab key in vscode cannot generate html. For more information, please follow other related articles on the PHP Chinese website!