Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 669
Konstantin Popov Avatar asked Aug 29 '14 10:08

Konstantin Popov


People also ask

What is the vertical line in IDE?

It's called a visual guide (Settings - Editor - Code Style). It helps you to see how wide is each line of code, and to keep the lines within this limit. You can configure the IDE to wrap the lines automatically when the lines are too long.

What is the line in Intellij for?

Basically, it's the guide line showing where the wrapping will occur (if enabled for certain code constructions). Show activity on this post.

How do I change the Editor in Intellij?

icon on a tab, in the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | General | Editor Tabs and select the appropriate option in the Close button position field.

How do I change lines in Intellij?

Press ⌥⇧↑ (macOS), or Alt+Shift+Up Arrow (Windows/Linux), to move a line up. To move a line down use ⌥⇧↓ (macOS), or Alt+Shift+Down Arrow (Windows/Linux). This shortcut does not factor in scope.


2 Answers

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.

like image 136
mingos Avatar answered Sep 29 '22 19:09

mingos


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

Settings > Editor > General > Appearance

like image 41
Matúš Krška Avatar answered Sep 29 '22 21:09

Matúš Krška