Disable wavy underline in VS Code

前端 未结 5 1474
情书的邮戳
情书的邮戳 2020-12-08 00:41


I\'m using Visual Studio Code (v1.11.2).
Is there any way to disable wavy underline at all?

5条回答
  •  有刺的猬
    2020-12-08 01:39

    Scenario: VScode 1.35.1 with installed extension "StandardJS - JavaScript Standard Style".

    1. The extension in javascript files: underlines some code, checks for indent spaces, etc.

    2. How to stop javascript code style validation ?

    Solution: Disable "JavaScript Standard Style" for JavaScript files.

    1. Open Command Palette by 'Ctrl+Shift+P'.

    2. From Command Palette find and click: 'Preferences: Open Workspace Settings'.

    3. From 'Workspace Settings' into search field type 'javascript'. From left sidebar look for Extensions -> JavaScript Standard Style.

    4. Click 'JavaScript Standard Style' and from right look for 'Standard: Enable'.

    5. Uncheck 'Standard Enable'.

提交回复
热议问题