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

Intellij Idea

Intellij Idea Problem Overview


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.

Intellij Idea Solutions


Solution 1 - Intellij Idea

Updated answer:

Go to PreferencesEditorGeneralAppearance and uncheck Show hard wrap and visual guides.

Settings window 2020

Original answer:

Go to SettingsEditorGeneralAppearance and uncheck Show Right Margin.

Settings window 2014

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

Solution 2 - Intellij Idea

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

Settings > Editor > General > Appearance

Solution 3 - Intellij Idea

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 - Intellij Idea

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

Solution 5 - Intellij Idea

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

enter image description here

Solution 6 - Intellij Idea

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 - Intellij Idea

2018-10-31

Settings -> Editor -> Code Style

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

230 columns is good to me.

Solution 8 - Intellij Idea

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

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKonstantin PopovView Question on Stackoverflow
Solution 1 - Intellij IdeamingosView Answer on Stackoverflow
Solution 2 - Intellij IdeaMatúš KrškaView Answer on Stackoverflow
Solution 3 - Intellij IdeaAmerllicAView Answer on Stackoverflow
Solution 4 - Intellij Ideauser2789973View Answer on Stackoverflow
Solution 5 - Intellij IdeaGowthamView Answer on Stackoverflow
Solution 6 - Intellij Ideauser5683940View Answer on Stackoverflow
Solution 7 - Intellij Ideauser9600581View Answer on Stackoverflow
Solution 8 - Intellij IdeaShandilyaView Answer on Stackoverflow