Home  >  Article  >  Development Tools  >  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?

青灯夜游
青灯夜游forward
2020-12-02 17:44:597341browse

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,

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!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete