Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VsCode remove indent style - dot

I'd like to remove/disable light grey dots.

enter image description here

like image 634
serkan Avatar asked Feb 13 '19 10:02

serkan


People also ask

How do I get rid of indentation dots in Visual Studio?

Edit -> Advanced -> untick View White Space.

How do I get rid of the indent in VSCode?

Click on menu File → Preferences → Settings. Untick the box which says "Controls whether the editor should render indent guides". This removes the indent guides.

How do you remove tab space in VS code?

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!

How do I indent code in Visual Studio code editor?

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 ".

How do I indent an entire block of code without changing?

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 ".

How do I Turn Off indentation in the text editor?

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.

How do I change the code code style in Visual Studio?

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.


Video Answer


2 Answers

Just put this line in your settings.json file:

"editor.renderWhitespace": "none"

Another approach is via the main menu View -> Toggle Render Whitespace

like image 53
Ali Heikal Avatar answered Oct 25 '22 01:10

Ali Heikal


To remove/disable/hide VsCode gray dots,
Go to the View tab and uncheck this: View > Render Whitespace

enter image description here

like image 31
Taib Islam Dipu Avatar answered Oct 25 '22 02:10

Taib Islam Dipu