Reputation: 1736
recently a gray vertical line appeared in about the middle of the editor pane of my IntelliJIdea Community Edition 13.1.4 probably due to some manipulations with the settings that I cannot remember. I cannot find how to get rid of it, which is annoying. Who can help? Thanks.
Upvotes: 152
Views: 80224
Reputation: 1737
I came here looking to solve this same problem and none of the above answers helped me. In my case, there was an ".editorconfig" file in the root of my project that overrode all the settings of my IDE. I just deleted all instances of "80" in there and I finally got rid of the visual guide that was showing at column 80 (which is way too short of a line for modern IDEs, btw).
Hopefully, this can help someone.
Upvotes: 0
Reputation: 91
In version IntelliJ IDEA 2022.3 (Community Edition) Build #IC-223.7571.182, built on November 29, 2022
You can browse to: File -> Settings -> Editor -> General -> Appearance
Uncheck "Show hard wrap and visual guides (configured in Code Style options)
Or optionally if you really don't want to browse this long, just search on top left search option as "Hard wrap" or "visual guides".
Upvotes: 8
Reputation: 131
Windows JetBrains Rider 2022:
File->Settings->Editor->General->Appearance
Uncheck "Show hard wrap and visual guides (configured in Code Style options)"
Upvotes: 5
Reputation: 103
On windows, for IntelliJ IDEA 2021.3 (Community Edition):
Upvotes: 0
Reputation: 24502
Updated answer:
Go to Preferences
→ Editor
→ General
→ Appearance
and uncheck Show hard wrap and visual guides
.
Original answer:
Go to Settings
→ Editor
→ General
→ Appearance
and uncheck Show Right Margin
.
You can also configure where the right margin is in the code style settings.
Upvotes: 247
Reputation: 89
Go to settings and type line separator in search and hard wrap it to 180
Upvotes: 8
Reputation: 31
2018-10-31
Settings -> Editor -> Code Style
you can find 'Hard wrap at [value] columns'.
230 columns is good to me.
Upvotes: 2
Reputation: 32472
In new versions of JetBrains IDEs, Hence, After 2017, you should search show hard wrap guide
. see below screenshot:
It's inside of Editor > General > Appearance
Upvotes: 14
Reputation: 391
It is called 'Show hard wrap guide' now, located in Editor > General > Appearance
Upvotes: 36
Reputation: 327
In mac Command+Shift+A .. Search for "show right margin" . Press enter to turn it off. Booom
Upvotes: 12
Reputation:
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".
Upvotes: 4