-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
No autocomplete when using Traits #28
Comments
Is this still an issue with v0.8.0? |
@bmewburn - I'm having this issue with v0.8.2 symbol search, goto definition, and global symbol with traits all don't work for me. Laravel uses Traits pretty heavily so this is really inconvenient - let me know any way I can help you troubleshoot or move this forward Thanks for producing the best php intellesense package for VS Code! |
I'm not experiencing the same issues. Using the code in the original post above I'm getting suggestions for |
So, turns out my personal problem is not with Traits, it's with indexing. I opened a new issue #38 |
I'm having the same problem. |
Same problem here |
Same problem, just updated Intelephense |
@olafsozanski please open a new issue with a minimal reproducible example |
When a class uses a trait there is no autocomplete for the methods that it should then have access to.
i.e.
Under the given/similar scenario there is nothing that shows up in autocomplete that would suggest that
isAdmin()
method should be available for aUser
object.The text was updated successfully, but these errors were encountered: