Get rid of the middle grey line in the workspace
PhpstormWebstormPhpstorm Problem Overview
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)"
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)"