Konstantin Popov
Konstantin Popov

Reputation: 1736

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.

Upvotes: 152

Views: 80224

Answers (11)

Tim Hardy
Tim Hardy

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

intel_ss
intel_ss

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

Updated IntelliJ visuals

Upvotes: 8

J.G.
J.G.

Reputation: 131

Windows JetBrains Rider 2022:

File->Settings->Editor->General->Appearance

Uncheck "Show hard wrap and visual guides (configured in Code Style options)"

enter image description here

Upvotes: 5

Shandilya
Shandilya

Reputation: 103

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

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

Upvotes: 0

mingos
mingos

Reputation: 24502

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.

Upvotes: 247

Gowtham
Gowtham

Reputation: 89

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

enter image description here

Upvotes: 8

user9600581
user9600581

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

AmerllicA
AmerllicA

Reputation: 32472

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

Upvotes: 14

Matúš Krška
Matúš Krška

Reputation: 391

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

Settings > Editor > General > Appearance

Upvotes: 36

user2789973
user2789973

Reputation: 327

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

Upvotes: 12

user5683940
user5683940

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

Related Questions