How to quickly complete div tags in vscode

王林
Release: 2019-12-31 13:24:55
Original
5216 people have browsed it

How to quickly complete div tags in vscode

1. First install the plug-in

How to quickly complete div tags in vscode

2. Configure the files.associations object

How to quickly complete div tags in vscode

After opening, it will look like this:

How to quickly complete div tags in vscode

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

How to quickly complete div tags in vscode

Click the edit button on the left and edit in the edit box on the right. The result is as shown in the figure:

How to quickly complete div tags in vscode

Similarly, do the same in Workspace settings Change, as shown in the figure below:

How to quickly complete div tags in vscode

After saving, go back to the js file, hit the

tag, auto-complete, and the code will take effect.

Tip: If the file you want to complete is not a js file, but has other suffixes, such as .vue files, just add the file suffix to the end of the list.

For example:

{ "emmet.triggerExpansionOnTab": true, "files.associations": { "*.js": "html", "*.vue": "html" } }
Copy after login

Recommended related articles and tutorials:vscode tutorial

The above is the detailed content of How to quickly complete div tags in vscode. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!