Home > Development Tools > VSCode > How does VSCode solve the problem of displaying wavy lines on unused variables?

How does VSCode solve the problem of displaying wavy lines on unused variables?

青灯夜游
Release: 2020-12-02 17:44:59
forward
7401 people have browsed it

How does vsCode solve the problem of displaying wavy lines on unused variables? The following VSCode column will introduce the solution to you. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How does VSCode solve the problem of displaying wavy lines on unused variables?

Related recommendations: "vscode tutorial"

vsCode displays wavy lines for unused variables

How does VSCode solve the problem of displaying wavy lines on unused variables?

Install the eslint plug-in, configure the settings.json file in vsCode of the project,

"javascript.validate.enable": true,
Copy after login

Restart vscode to take effect

For more programming-related knowledge, please visit: Programming Course! !

The above is the detailed content of How does VSCode solve the problem of displaying wavy lines on unused variables?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
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