3

I have these wierd two vertical lines in VSCode editor window. What are they & how do you remove them?

enter image description here https://www.diaryofacoder.com/screenshot.png

The following was in my settings.json file that caused the problem:

"editor.rulers": [
        72,50
    ],
coding4fun
  • 7,611
  • 9
  • 53
  • 76
  • They look like line length guides so you can tell if your lines of code are too long for whatever coding style you use, but they’re placed very early for that (usually the default would be 80 chars). – Daniel H Feb 09 '19 at 03:37
  • Possibly some extension modified the editor.rulers setting? It is not set by default. – Mark Feb 09 '19 at 04:47
  • 2
    Possible duplicate of [Vertical rulers in Visual Studio Code?](https://stackoverflow.com/questions/29968499/vertical-rulers-in-visual-studio-code) – Gama11 Feb 10 '19 at 10:48

1 Answers1

9

Remove the "editor.rulers": [140] from editor settings as follows:

enter image description here enter image description here

TanvirArjel
  • 22,594
  • 10
  • 59
  • 91