Community
Participate
Working Groups
Created attachment 245876 [details] Example To reproduce: * Enable styling for deprecated members * Paste code <?php abstract class AC { /** * @deprecated */ static function f() { } } trait T { /** * @deprecated */ static function f() { } } AC::f (); T::f ();
Probably doesn't work because TI also doesn't work: trait T { static function f() { return new DateTime(); } } T::f()-> // empty after ctr+space
It looks that problem with styling is separated from CA problem. I'll open separate bug for this CA issue (CA doesn't work in general for static traits methods). Proposed patch should fix styling for deprecated method and I found also problem with styling for static invocation class name. Full example: <?php /** * *@deprecated */ class AC { static function fxxx() { } } trait T { /** * * @deprecated * */ public static function f() { return new DateTime (); } } T::f (); AC::fxxx (); Patch proposal: https://git.eclipse.org/r/#/c/32106/
Merged: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=07e31e65c0ec218c15b983063e1e124025a6c574 Thanks
Verified. Closing