Get rid of the middle grey line in the workspace

前端 未结 8 891
爱一瞬间的悲伤
爱一瞬间的悲伤 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: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.

提交回复
热议问题