-
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
Intellisense autocomplete also suggests private or protected method and properties #469
Comments
Hey @zodiark23, We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄 If not, the maintainers will get to this issue shortly. Cheers, |
I also face the same issue, and in the first glance i feel that there is no check specifically to check the access modifiers. May be it is there which i couldn't understand. I am trying to implement this. If I complete will ask to merge. |
Hi, I was checking this issue and I came up with a solution. I added this to the \LanguageServer\Definition class
|
Also, the \LanguageServer\CompletionProvider must be modified too. Line: |
@gnoe want to submit a pull request? https://help.github.com/articles/creating-a-pull-request/ |
@felixfbecker, yes, I am going to do it! |
Just like said in the title it also suggest the methods that is declared private/public
Here is the class implementing it
Although
php
will also throw an error for this might be better if the intellisense won't suggest anymore.The text was updated successfully, but these errors were encountered: