Community
Participate
Working Groups
Created attachment 245715 [details] Screenshot with code assist When using parameter arguments in a PHPDoc method (@method) ZS correctly detects the method and it's arguments but only when method chaining is not being used. PHPDoc methods are chained correctly with autocomplete when the arguments are not specified in the PHPDoc for the class. <?php /** * @method Foo method1() * @method Foo method2($foo) */ class Foo {} $foo = new Foo(); // CASE ONE: Place Cursor at {CURSOR} $foo->method1()->{CURSOR}/* Ctrl + Space yields autocomplete*/ // Case TWO: Place Cursor at {CURSOR} $foo->method2()->{CURSOR}/* Ctrl + Space yields nothing*/ ?>
Patch: https://git.eclipse.org/r/#/c/31021/
Merged: https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=e080898f21c2fba679caefb61cd1061e1f6b5788 Thank you!
Verified. Closing....