-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Improve autocompletion for ::class constants #165
Comments
I suggest that both ways should work automatically, without any settings. |
"::class" made it into Symfony maker bundle; maybe this should be also reflected here |
What I noticed is that if you ctrl+hover over a class declaration like MyClass::class, for example in Doctrine's targetEntity argument, it will correctly link it to the MyClass class, but ONLY if that class was imported with PHP's use statement in the file. |
…mespace support class constant navigation on same namespace and refactor import scope usage #165
For Doctrine annotations I prefer use
::class
constants over strings:Unfortunately, the autocompletion for properties (
posts
) doesn't work in this case.I would like to set in
Settings
whether I prefer constants or strings.The text was updated successfully, but these errors were encountered: