Get rid of the middle grey line in the workspace

PhpstormWebstorm

Phpstorm Problem Overview


How can I remove that grey line on the code workspace .. Image:

  • Look at that vertical grey line at the right side ..

enter image description here

Phpstorm Solutions


Solution 1 - Phpstorm

Edit - As noted in the comments, in more recent versions this is now found at Settings > Editor > General > Appearance > Uncheck "Show hard wrap and visual guides"


It's called the 'right margin', and it indicates the width of your code, so that if you are trying to comply with a coding standard that requires a maximum width you can easily see where that is.

To remove it completely go into Settings, and under IDE settings find Editor -> Appearance, then uncheck the box marked "Show right margin".

Alternatively, if you want to reposition the line, you can do so under Project Settings -> Code Style -> General, and change the Right Margin value.

Solution 2 - Phpstorm

PhpStorm 10

File > Settings... > Editor > General > Appearance > uncheck "Show right margin (configured in Code Style options)"

enter image description here enter image description here

Solution 3 - Phpstorm

In PHPStorm 2017.3 you need to do the following:

Settings > General > Appearance > Uncheck "Show hard wrap guide (configured in code style options)"

Solution 4 - Phpstorm

In PHPStorm 8, Go to Settings -> Colors and Fonts -> General then In the right panel menu click Right margin then uncheck foreground color

Solution 5 - Phpstorm

In PHPStorm 2020.1 you need to do the following:

Settings > Editor > General > Appearance > Uncheck "Show hard wrap and visual guides (configured in Code Style options)"

Solution 6 - Phpstorm

PHPSTORM 9

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

Un-Check the box that says "Show right margin (configured in Code Style options)"

Solution 7 - Phpstorm

This is the Show hard wrap guide (Configured in Code Style options) in Editors General Appreance settings. However the PhpStorm Version is 2018.*

PhpStorm Show hard wrap guide (Configured in Code Style options) option

So you need to go disable or unmark that option to hide that vertical line. From the PhpStorm top bar menu, go to File > Settings > Editor > General > Appearance and Show hard wrap guide (Configured in Code Style options) checkbox option and unmark to disable it.

Solution 8 - Phpstorm

As of PHPStorm and WebStorm 2018.3 IDE, The check "Show right margin" has been replaced with "Show hard wrap guide". In Settings → Editor → General → Appearance

Also "Right Margin" value has replaced with "Hard wrap" under Settings → Editor → Code Style.

Shortcut key to Settings: CTRL+ALT+S

Solution 9 - Phpstorm

Settings (ctrl + alt + s) > General > Appearance > Uncheck "Show hard wrap and visual guides(configured in code style options)"

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
QuestionIdoView Question on Stackoverflow
Solution 1 - PhpstormshanethehatView Answer on Stackoverflow
Solution 2 - PhpstormROMANIA_engineerView Answer on Stackoverflow
Solution 3 - PhpstormmarkwilliamswebView Answer on Stackoverflow
Solution 4 - PhpstormRahman SalehView Answer on Stackoverflow
Solution 5 - PhpstormMykolaView Answer on Stackoverflow
Solution 6 - PhpstormTV-C-1-5View Answer on Stackoverflow
Solution 7 - PhpstormsybozzView Answer on Stackoverflow
Solution 8 - PhpstormSaleh MahmoodView Answer on Stackoverflow
Solution 9 - PhpstormAmir ElfallalView Answer on Stackoverflow