Eclipse不推荐使用的代码突出显示php
我有两台安装了相同Eclipse的不同PC。有人向我展示了不推荐使用的函数作为删除线,即 foo()。但是,在我的另一台PC上,这似乎不起作用。我尝试将偏好设置更改为无效。我还注意到,当我通过按住 ctrl
并单击该函数(在这种情况下 ereg_replace()
)没有 @deprecated
行或其他任何内容。我丢失了什么吗?
I have two different pcs with identical Eclipse installs on them. One shows me deprecated functions as a strikethrough ie foo(). However, on my other pc this doesn't seem to work. I've tried changing the preferences to no avail. Also I've noticed that when I show the function definition by holding ctrl
and clicking on the function (in this case ereg_replace()
) there is no @deprecated
line or anything. Am I missing something?
我也在两台电脑上都使用了EclipseColorTheme插件;不确定是否会影响它。
Also I am using the EclipseColorTheme plugin on both pcs; not sure if that would affect it.
我知道这是一个旧线程,但万一其他人遇到这个问题:
I know this is an old thread, but in case anyone else comes across this:
首选项-> PHP->编辑器->语法着色。选择不推荐使用的成员。选择启用。它将允许您设置突出显示的格式(删除线)。
Preferences->PHP->Editor->Syntax Coloring. Select Deprecated members. Select enabled. It will allow you to format the highlighting (Strike Through).