https://i.stack.imgur.com/VvyUm.png
Updated answer:
Go to Preferences
→ Editor
→ General
→ Appearance
and uncheck Show hard wrap and visual guides
.
https://i.stack.imgur.com/QSzWk.png
Original answer:
Go to Settings
→ Editor
→ General
→ Appearance
and uncheck Show Right Margin
.
https://i.stack.imgur.com/5ygMN.jpg
You can also configure where the right margin is in the code style settings.
It is called 'Show hard wrap guide' now, located in Editor > General > Appearance
https://i.stack.imgur.com/6ApQX.jpg
In new versions of JetBrains IDEs, Hence, After 2017, you should search show hard wrap guide
. see below screenshot:
https://i.stack.imgur.com/sYLxg.jpg
It's inside of Editor > General > Appearance
In mac Command+Shift+A .. Search for "show right margin" . Press enter to turn it off. Booom
Go to settings and type line separator in search and hard wrap it to 180
https://i.stack.imgur.com/ZTJIV.jpg
For PyCharm 2017 and aboce it was moved, but can still be done by:
Editor > Color Scheme > General.
Then in the new control to the right, open Editor > Guides > Hard wrap guide
, and uncheck the checkbox for "Foreground".
2018-10-31
Settings -> Editor -> Code Style
you can find 'Hard wrap at [value] columns'.
230 columns is good to me.
On windows, for IntelliJ IDEA 2021.3 (Community Edition):
File
-> Settings
-> Editor
-> General
-> Appearance
-> Uncheck "Show indent guides"
Success story sharing
Editor -> Code Style -> <your language> -> Hard Wrap At
. I set my to 999 (the max)