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

The tab key in vscode cannot generate html

王林
王林Original
2020-02-07 13:44:414034browse

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"
}

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"
}

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!

Statement:
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