Home>Article>Development Tools> Solve the problem of code not being highlighted in vscode

Solve the problem of code not being highlighted in vscode

hzc
hzc Original
2020-06-06 13:43:57 8678browse

Solve the problem of code not being highlighted in vscode

Solution to the code not being highlighted in vscode:

An HTML file, if it exceeds 500 lines, the HTML The code will be automatically protected. Automatic protection will not display all the colors of the HTML code.

The HTML code is not highlighted. Click the lower right corner to switch the language to XML, that is, the HTML code part is highlighted and colored.

Switch to HTML again, the CSS and javascript parts will be highlighted, and the code will be displayed with color

Recommended tutorial "VSCode Tutorial"

The above is the detailed content of Solve the problem of code not being highlighted 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