'How to I remove some of the extra lines under code in Visual Studio Code

This is what my code Looks like:

This is what my code looks like

I would like to remove these lines:

I would like to remove these lines



Solution 1:[1]

These are the indentation guides. You cannot hide some of them.

To hide all of them, press Ctrl+Shift+P to bring up the command palette and run the Preferences: Open JSON Settings command. Add the following line:

"editor.guides.indentation": false

See User and Workspace Settings for reference.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 carlfriedrich