Home > Development Tools > VSCode > body text

Solve the problem of code not being highlighted in vscode

hzc
Release: 2020-06-06 16:57:54
Original
8767 people have browsed it

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!

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