I want to remove the right hand margin line in Android Studio/IntelliJ. I have pointed out the line in question in the image below.
I searched Android studio settings and search Google many times.. but I couldn't find anything.
How do I remove that line?
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.
Easy solution to this :)
Go to File, then Other Settings, then Default Settings. Choose Code Style from the list on the Left, then General. Change the Right Margin
attribute to be 0. This will remove the line.
Hope this helps. Here's a picture:
switch the toggle to OFF using Enter or mouse left click.
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