How to remove the vertical line on VS CODE

Viewed 714

I went into the settings.json, but the "editor.rulers":[] array is already empty. I still have the line in the middle. Please advise step by step to remove this. Thank you in advance!

enter image description here

1 Answers

You appear to be looking at the default settings JSON (not your actual settings JSON), which should contain nothing in that array (did you reach this via the command palette)?

Try the following:

  1. Open the settings menu by clicking the Gear icon in the bottom left and selecting Settings, or by the keyboard shortcut Ctrl + ,.
  2. In the top right of the settings menu, click the ellipsis in the top right and select "Show modified settings."

show modified settings

  1. See if the "Editors: Rulers" setting is in your list of settings after filtering on modified settings. If it is, click the "Edit in settings.json" link for it, and delete the setting from your JSON.

editor: Rulers

Related