Home » Php » php – How to remove these horizontal lines in PHPStorm?

php – How to remove these horizontal lines in PHPStorm?

Posted by: admin April 23, 2020 Leave a comment

Questions:

How to remove these horizontal lines in PHPStorm?

enter image description here

I must have searched through the entire Settings window, but I can’t seem to find it. Is it even possible to remove them?

How to&Answers:

Generally speaking there are two kinds of such separators:

  1. Actual method separators — they appear before method/function body. I do not see them on your screenshot so you must have removed them already.

    If someone needs it’s controlled by Settings/Preferences | Editor | General | Appearance | Show method separators.

  2. Other separators — before class/namespace/etc. Those are visible on your screenshot.

Thing is — you cannot “remove” them in the same way — only mask (make invisible). For that:

  1. Settings/Preferences
  2. Editor | Color Scheme | General
  3. Code | Method separator color

Either remove any assigned colors (try this first) or assign the same color as background.