Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The method of displaying wavy lines with unused variables by VSCode

Shulou Source: shulou.com Published: 2022-06-02 18:52:34 10月04日 Update

This article will explain in detail the method of displaying wavy lines on unused variables by VSCode. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

VsCode shows the wavy lines of unused variables

Install the eslint plug-in and configure the settings.json file in the project's vsCode

"javascript.validate.enable": true

Restart vscode takes effect

This is the end of VSCode's method of displaying wavy lines on unused variables. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Variables waves methods more articles good practical content plug-ins files articles knowledge projects references help related configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux macOS NVidia MySQL Shulou Information