Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable White Vertical Line

So I've installed VS Code on my Mac and it works perfectly fine. There's just this white vertical line going down the screen which is kinda annoying.

I'm not sure if it's supposed to be some sort of guide, ruler or something. It just appeared from the start. Is there a way to disable it?

It looks like this :

enter image description here

like image 267
StormKrow Avatar asked Aug 01 '17 21:08

StormKrow


People also ask

What is the vertical line in IDE?

It's called a visual guide (Settings - Editor - Code Style). It helps you to see how wide is each line of code, and to keep the lines within this limit. You can configure the IDE to wrap the lines automatically when the lines are too long.

How do you get rid of vertical lines in VS code?

Answers 1 : of How can I remove left vertical lines in VS Code. Go to the menu Code->Preference->Settings and search for "renderIndentGuides".


2 Answers

There can be 2 places where it has "editor.rulers" in the settings.json. Make both empty.

enter image description here

like image 55
aads Avatar answered Sep 21 '22 12:09

aads


By default the ruler shouldn't be visible, but you can check for the following setting:

editor.rulers.

If set, it's an array with column numbers. If you want to turn it off, you can simply set an empty array like this:

"editor.rulers": []

like image 33
kwood Avatar answered Sep 20 '22 12:09

kwood