Open MartinP7r opened 6 years ago
The order of suggestions is defined by VS Code itself and last time I checked there isn't a way to re-order them (I really wish there was).
I've had the same frustration myself, but sadly I don't think I can fix it (yet)
😢 that's too bad. Thank you for looking into it!
@cyrus86 you will solve it when you set php.suggest.basic=false
$this->
in object the methods and parameters are shown first in order.
see:
@Kcko please read the question completely before answering. I mentioned php.suggest.basic
and why I prefer having it enabled.
@cyrus86 no offense pls,
see: https://goo.gl/5y2whk (native methods are first when im trying to find some array php native functions)
see: https://goo.gl/REqGBz correct suggestions for object methods
with plugin from ben mawburn and directive php.suggest.basic=false
(its recommended from author each php intelisense extension).
Or make as you think...
suggestion from @nevadascout is little buggy (i reported some things in previous issuses), but i believe that he will put it together :-)
Not sure if this is something to report here, but I'd prefer to see the class property suggestions on top, before all other suggestions.
Since I'm still using
php.suggest.basic
in order to see things likearray_push
getting suggested, writing$this->
does not show properties of the current class immediately without typing further.is there a setting to change the order?