Home > Development Tools > VSCode > How to enable automatic syntax detection in vscode

How to enable automatic syntax detection in vscode

王林
Release: 2020-02-20 17:46:40
Original
11176 people have browsed it

How to enable automatic syntax detection in vscode

Click 'Extension' on the left - enter 'eslint' in the head search box and search for the component

How to enable automatic syntax detection in vscode

Click 'install' to install Eslint component in the search results list

How to enable automatic syntax detection in vscode

(Recommended tutorial: vscode tutorial)

Click the 'Settings' button in the lower left corner to enter Settings page

How to enable automatic syntax detection in vscode

Click the header and enter 'eslint' to search for related configuration items

How to enable automatic syntax detection in vscode

Scroll down to the Eslint: Enable option , just check it. When you open the page, you will see that the js syntax errors are marked in red

How to enable automatic syntax detection in vscode

For more programming-related content, please pay attention to the php Chinese websiteIntroduction to Programmingcolumn!

The above is the detailed content of How to enable automatic syntax detection 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