0

I'm not fond of the indentation guides in VS Code and find them distracting, except in HTML where they are necessary.

I know that I can disable them for all files by adding "editor.guides.indentation": false to settings.json, but is there any way of disabling them for all files but HTML files?

1 Answer 1

0

In settings.json:

"editor.guides.indentation": false,
"[html]": { // for multiple languages, ex. "[html][css][javascript]"
    "editor.guides.indentation": true,
},

See also https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.