[英]How to remove these horizontal lines in PHPStorm?
How to remove these horizontal lines in PHPStorm?如何在 PHPStorm 中删除这些水平线?
I must have searched through the entire Settings window, but I can't seem to find it.我一定已经搜索了整个“设置”窗口,但似乎找不到它。 Is it even possible to remove them?
甚至可以删除它们吗?
Generally speaking there are two kinds of such separators:一般来说,有两种这样的分隔符:
1. Actual method separators -- they appear before method/function body. 1. 实际方法分隔符——它们出现在方法/函数体之前。 I do not see them on your screenshot so you must have removed them already.
我在你的屏幕截图上没有看到它们,所以你一定已经删除了它们。
It's controlled by Settings/Preferences | Editor | General | Appearance | Show method separators
它由
Settings/Preferences | Editor | General | Appearance | Show method separators
控制Settings/Preferences | Editor | General | Appearance | Show method separators
Settings/Preferences | Editor | General | Appearance | Show method separators
Settings/Preferences | Editor | General | Appearance | Show method separators
option: Settings/Preferences | Editor | General | Appearance | Show method separators
选项:
2. Other separators -- before class/namespace/etc. 2. 其他分隔符——在类/命名空间/等之前。 These are visible on your screenshot.
这些在您的屏幕截图上可见。
Thing is: you cannot "remove" them in the same way -- only mask them (make invisible).事情是:你不能以同样的方式“删除”它们——只能掩盖它们(使不可见)。 For that:
为此:
Settings/Preferences
Editor | Color Scheme | General
Code | Method separator color
Either remove any assigned colors (try this first) or assign the same color as background.删除任何指定的颜色(先尝试)或指定与背景相同的颜色。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.