Home > Development Tools > VSCode > The tab key in vscode cannot generate html

The tab key in vscode cannot generate html

王林
Release: 2020-02-07 13:44:41
Original
4037 people have browsed it

The tab key in vscode cannot generate html

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"
}
Copy after login

The tab key in vscode cannot generate html

Note: After v1.15.1, you must write it as follows:

"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html"
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template