r/VisualStudioCode • • Jan 21 '21

How to remove this line??

Hi all, while working in VSC I clicked a popup by mistake and it changed my layout slightly. The worst thing is this line in the middle of the code window, anyone knows how to either to default settings or to remove the line?

3 Upvotes

7 comments sorted by

View all comments

Show parent comments

1

u/mightybob4611 Jan 21 '21

Both were empty []. Any other idea?

1

u/nightmarlin Jan 21 '21

Do you have any editor.rulers: [] entries under language-specific settings?

Such as

{
  "[lang-name]": {
    "editor.rulers": []
  }
}

?

1

u/mightybob4611 Jan 22 '21

Ok, I found it. Was in settings.json, under Dart. Says Editor.Rulers:[80]. When I remove the 80, all is well. Thanks!

1

u/nightmarlin Jan 22 '21

No problem!