Home > Development Tools > VSCode > body text

vscode often reports errors when editing js code

王林
Release: 2020-02-13 16:30:43
Original
4246 people have browsed it

vscode often reports errors when editing js code

Problem:

Often errors are reported when editing js code, such as:

vscode often reports errors when editing js code

Cause:

Due to the syntax checking problem of vcode itself.

Solution:

Add "javascript.validate.enable": false in the settings to disable the default js verification.

We can use third-party tools such as eslint or tslint to perform static checking.

Related recommendations: vscode tutorial

The above is the detailed content of vscode often reports errors when editing js code. 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