Many friends use vscode as a code editor. This development tool is suitable for many development languages. If you want to set up code highlighting, you just need to download and install the corresponding plug-in. Let’s take a look at how to set code highlighting in vscode.
After opening vscode, click on the extension icon on the left.
After opening, enter the extension you want to search for in the input box above.
For example, if we want to install a highlight display supported by react code, we can enter the react keyword to search, and we can see many related plug-ins. Click to open one.
Then click the install button here on the right to install.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to solve the problem that vscode code is not highlighted. For more information, please follow other related articles on the PHP Chinese website!