"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?
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.
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
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!