Skip to content

Go to Definition in PHPDoc comments #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
felixfbecker opened this issue Nov 4, 2016 · 8 comments
Open

Go to Definition in PHPDoc comments #134

felixfbecker opened this issue Nov 4, 2016 · 8 comments

Comments

@felixfbecker
Copy link
Owner

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

@felixfbecker
Copy link
Owner Author

I would love to support this, but I don't get any location info from phpDocumentor for the tags.

@felixfbecker
Copy link
Owner Author

From @razvanphp on November 4, 2016 19:3

Maybe you can open a feature request issue there?

@felixfbecker
Copy link
Owner Author

phpDocumentor/ReflectionDocBlock#87

@joelday
Copy link

joelday commented Mar 2, 2017

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?

@felixfbecker
Copy link
Owner Author

@joelday I think this functionality can be provided much easier in the language server. But automatic documentation !== go to definition in docblocks.

@joelday
Copy link

joelday commented Mar 2, 2017

@felixfbecker

But automatic documentation !== go to definition in docblocks.

Totally. :)

@razvanphp
Copy link

razvanphp commented Aug 9, 2018

is this now possible due to adoption of Microsoft/tolerant-php-parser?

@vbabak
Copy link

vbabak commented Dec 4, 2019

@felixfbecker
is PHPDoc implemented?
-- edit --
I mean autocomplete based on PHPDoc (@method, @see, @var) and corresponding code navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants