Home > Development Tools > VSCode > body text

How to configure react code auto-completion in vscode?

青灯夜游
Release: 2020-11-30 15:45:15
Original
5628 people have browsed it

Method: 1. Click "File"->"Preferences"->"Settings" in the top navigation bar; 2. Search for "emmet.includeLanguages" in the search bar and click "In settings" "Edit in .json"; 3. Modify the emmet plug-in configuration in settings.json.

How to configure react code auto-completion in vscode?

The operating environment of this tutorial: Dell G3 computer, windows7 system, Visual Studio Code1.39.2 software.

Related recommendations: "vscode Basic Tutorial"

Automatic completion of react code in VScode

Step 1: Select File-->Preferences-->Settings

How to configure react code auto-completion in vscode?

Step 2: Search for emmet.includeLanguages ​​in the search bar, and then add the following configuration


"emmet.includeLanguages": {
        "javascript":"javascriptreact"
    },
Copy after login

Step 3: Restart vscode.

For more programming-related knowledge, please visit: Programming Learning Website! !

The above is the detailed content of How to configure react code auto-completion 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
Popular Tutorials
More>
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!