Eclipse deprecated code highlighting php

跟風遠走 提交于 2019-12-11 09:56:35

问题


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?

Also I am using the EclipseColorTheme plugin on both pcs; not sure if that would affect it.


回答1:


I know this is an old thread, but in case anyone else comes across this:

Preferences->PHP->Editor->Syntax Coloring. Select Deprecated members. Select enabled. It will allow you to format the highlighting (Strike Through).



来源:https://stackoverflow.com/questions/13548522/eclipse-deprecated-code-highlighting-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!