Disable White Vertical Line

Viewed 34291

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

11 Answers

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

enter image description here

In the latest version of vscode you can follow this process to get rid of that white line

Step 1: Go to Preferences -> Settings Screenshot of the preferences panel

Step 2: Search for editor rulers and click on edit in settings.json Screenshot of the search result

Step 3: In many cases, it would be like this:

"editor.rulers": [
  80
]

Remove 80 and make it an empty array and save it.

"editor.rulers": []

By following these steps the vertical line should be removed.

As my dart file was having that issue. So I have added in setting.json:

"[dart]" : {

"editor.rulers": []
}

If u just want to get rid of the rightmost line, edit your settings.json file

"editor.rulers": [],

And if you want to get rid of the left sidelines, just make sure

render indent guides

Press Ctrl + Shift + P => Type: setting.json and then click "Open Settings (JSON)

enter image description here

Then change to this: "editor.rulers": [],

Here are some steps:

  • Open vs code settings.json file

  • then under json file search for this line of code "editor.rulers": enter image description here

  • then remove the or blank the array like this"editor.rulers": [], and save the file.

enter image description here

Related