Home >Development Tools >VSCode >What should I do if the html tag in vscode cannot be completed?

What should I do if the html tag in vscode cannot be completed?

王林
王林Original
2020-03-24 16:35:213528browse

What should I do if the html tag in vscode cannot be completed?

1. Install the plug-in

What should I do if the html tag in vscode cannot be completed?

2. Configure the files.associations object

What should I do if the html tag in vscode cannot be completed?

(Learning video recommendation: java video tutorial)

The page after opening is as follows:

What should I do if the html tag in vscode cannot be completed?

Found in the Comm Used list "files.associations": {}

What should I do if the html tag in vscode cannot be completed?

#Add the following content:

{    
"emmet.triggerExpansionOnTab": true,    "files.associations": {"*.js": "html"}
}

Similarly, make changes in Workspace settings.

Add the following content:

{    
"workbench.editor.closeEmptyGroups": false,    
"emmet.triggerExpansionOnTab": true,    
"files.associations": {"*.js": "html"}
}

Recommended tutorial: vscode tutorial

The above is the detailed content of What should I do if the html tag in vscode cannot be completed?. 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