I'd like to remove/disable light grey dots.
Edit -> Advanced -> untick View White Space.
Click on menu File → Preferences → Settings. Untick the box which says "Controls whether the editor should render indent guides". This removes the indent guides.
You set your Visual Studio options (Tools/Options/Text Editor) to use spaces instead of tabs and then you open a source file and Ctrl-E,D (Edit/Advanced/Format Document) and it will convert them all for you!
Visual studio’s smart indenting does a pretty good job of automatically indenting code as it is written or pasted into the code editor. When writing code, to indent an entire block of code one level without changing each line individually, simply select the block and press "Tab". To unindent a block one level , select it and press " Shift+Tab ".
When writing code, to indent an entire block of code one level without changing each line individually, simply select the block and press "Tab". To unindent a block one level , select it and press " Shift+Tab ".
Click on menu File → Preferences → Settings. Untick the box which says "Controls whether the editor should render indent guides". This removes the indent guides. Here's a way to hide the indent lines but keep the active line indicator.
Code style options can also be set in Visual Studio in the Text editor options dialog. These are per-user options that are only respected while editing in Visual Studio. These options are not respected at build time or by other IDEs.
Just put this line in your settings.json
file:
"editor.renderWhitespace": "none"
Another approach is via the main menu View -> Toggle Render Whitespace
To remove/disable/hide VsCode gray dots,
Go to the View tab and uncheck this: View > Render Whitespace
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With