-
Notifications
You must be signed in to change notification settings - Fork 185
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
Resolve types recursively #54
Comments
Hi. Just checked with VSCode. I see a great work was done here but not yet looks usable to me. From the checklist must say that That list includes static functions, but not constants. Also, can't get any completion for anything of other classes, even the list of available classes. And no PhpDoc reading. E.g. I have a view with header like this: <?
/**
* ...
*
* @var View $this
* @var Meta $meta
* @var bool $isUser
* @var array|bool $release
* @var array|bool $next
* @var array|bool $previous
*/ No auto-complete at all as well. |
Well, go to definition doesn't work for those as well. |
@Z-AX there is a (passing) unit test for class constant definition: https://github.com/felixfbecker/php-language-server/blob/master/tests/Server/TextDocument/Definition/GlobalTest.php#L71 If you found a bug, please open a separate issue, this issue tracks resolving types dynamically. |
From #49:
Go To Definition currently works for
use
)use
statements that import a class-likeimplements
/extends
What does not work yet:
The text was updated successfully, but these errors were encountered: