'How to get rid of a vertical line in the editor pane of IntelliJ Idea?

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? enter image description here Thanks.



Solution 1:[1]

Updated answer:

Go to Preferences ? Editor ? General ? Appearance and uncheck Show hard wrap and visual guides.

Settings window 2020

Original answer:

Go to Settings ? Editor ? General ? Appearance and uncheck Show Right Margin.

Settings window 2014

You can also configure where the right margin is in the code style settings.

Solution 2:[2]

It is called 'Show hard wrap guide' now, located in Editor > General > Appearance

Settings > Editor > General > Appearance

Solution 3:[3]

In new versions of JetBrains IDEs, Hence, After 2017, you should search show hard wrap guide. see below screenshot:

enter image description here

It's inside of Editor > General > Appearance

Solution 4:[4]

In mac Command+Shift+A .. Search for "show right margin" . Press enter to turn it off. Booom

Solution 5:[5]

Go to settings and type line separator in search and hard wrap it to 180

enter image description here

Solution 6:[6]

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".

Solution 7:[7]

2018-10-31

Settings -> Editor -> Code Style

you can find 'Hard wrap at [value] columns'.

230 columns is good to me.

Solution 8:[8]

On windows, for IntelliJ IDEA 2021.3 (Community Edition):

  • File
  • -> Settings
  • -> Editor
  • -> General
  • -> Appearance
  • -> Uncheck "Show indent guides"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Danny Varod
Solution 3 Community
Solution 4
Solution 5 Suraj Rao
Solution 6
Solution 7 user9600581
Solution 8 Peter Csala