php-language-server
php-language-server copied to clipboard
Go to Definition in PHPDoc comments
From @razvanphp on November 4, 2016 18:54
Not sure how I can explain better, but this would be very useful, especially for private variables in classes.
Thank you for this great extension, makes VSCode perfect!
Copied from original issue: felixfbecker/vscode-php-intellisense#28
I would love to support this, but I don't get any location info from phpDocumentor for the tags.
From @razvanphp on November 4, 2016 19:3
Maybe you can open a feature request issue there?
https://github.com/phpDocumentor/ReflectionDocBlock/issues/87
PHP support for https://github.com/joelday/vscode-docthis has been a pretty big request. I'm working on switching to a multiple language architecture, but I want to make sure that I'm going in the right direction or if I should do this at all. I sent @mousetraps a quick e-mail about this, too.
This is also pretty sensitive given the runtime implications of PHPDoc comments, which is going to require very careful testing and CI on my part. Any thoughts?
@joelday I think this functionality can be provided much easier in the language server. But automatic documentation !== go to definition in docblocks.
@felixfbecker
But automatic documentation !== go to definition in docblocks.
Totally. :)
is this now possible due to adoption of Microsoft/tolerant-php-parser?
@felixfbecker is PHPDoc implemented? -- edit -- I mean autocomplete based on PHPDoc (@method, @see, @var) and corresponding code navigation.