There is a vertical line in the middle of the file editor window in Android Studio. I'm unable to change the margin line. Below is the screenshot of the right margin line:
Where is the setting to change this line?
I had to click on File > Settings > Editor > General > Appearance and remove the checkbox on Show hard wrap and visual guides (configured in Code Style options) .
That line historically represents the margin of A4 paper, which is useful only if you need to print the code. Old school says that you should keep your code inside that margin, to guarantee much portability.
I guess you mean this line?
That's a ruler for the max column width.
You can change the max column width from:
File > Settings > Editor > Code Style > Right Margin (columns)
If you are using Dart language:
settings -> Code Style -> Dart
and set Line length to your preference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With