"Preferences" -> "Settings" on the top navigation bar; 2. Search for "emmet.includeLanguages" in the search bar and click "Edit in settings.json"; 3. Just modify the emmet plug-in configuration in settings.json."/> "Preferences" -> "Settings" on the top navigation bar; 2. Search for "emmet.includeLanguages" in the search bar and click "Edit in settings.json"; 3. Just modify the emmet plug-in configuration in settings.json.">

Home  >  Article  >  Development Tools  >  How to configure react code auto-completion in vscode?

How to configure react code auto-completion in vscode?

青灯夜游
青灯夜游Original
2020-11-25 11:13:225685browse

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

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!

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