Get rid of the middle grey line in the workspace

前端 未结 8 865
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 10:45

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

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

相关标签:
8条回答
  • 2020-12-24 11:02

    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

    0 讨论(0)
  • 2020-12-24 11:08

    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.

    0 讨论(0)
  • 2020-12-24 11:10

    PhpStorm 10

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

    0 讨论(0)
  • 2020-12-24 11:11

    In PHPStorm 2017.3 you need to do the following:

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

    0 讨论(0)
  • 2020-12-24 11:15

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

    0 讨论(0)
  • 2020-12-24 11:15

    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.

    0 讨论(0)
提交回复
热议问题