Image of the line After updating to Android studio Hedgehog Patch 1 a random line has appeared on screen and it is very distracting . Any fixes for this
I tried invalidating caches and even updating to Iguana still the issue persists and the line is there
2
Answers
It could be appear for various reasons, some solutions I can suggest is bellow:
1. Inspect Editor Settings:
File > Settings > Editor > General > Appearance
anduncheck
"Show right margin"
"Show
visual guides" and "Show indent guides."
adjusting the soft wrap settings in File > Settings > Editor > General > Soft
Wraps.
2. Reset Android Studio Settings:
Help > Find Action (Ctrl+Shift+A or Cmd+Shift+A)
, type"Reset Settings"
and select"Restore Default Settings"
3. Reinstall Android Studio:
Hope it helps!
You can hide the line:
File > Settings > Editor > General > Appearance > Show hard wrap and visual guides
.This line is present by default (even in earlier versions of
Android Studio
, this has nothing to do with Hedgehog Patch 1!) and has its origins in the time (~1950) when people still worked with punched cards and had to make a line break after 80 keystrokes. See the historical image on this Wikipedia page:Many programmers have gotten used to this and need it as a reminder to make a line break soon to avoid having to scroll the code horizontally.