Open wlkns opened 7 years ago
this happens a lot to me too. Even after writing half of the path i don't get proper suggestions. It would be great if this feature can be improved.
Also auto import of classes with a certain key shortcut could largely improve this feature.
I primarily use this plugin for the inclusion of dependencies as I'm typing, scenario: I type
User
then it adds theuse App\User
statement. The problem is, when I type user I'm overwhelmed with irrelevant functions, sometimes 100's...The only way I can think of alleviating this would be to make this search case insensitive, and also improve the matching algorythm e.g. GuzzleHttp\Psr7\mimetype_fromextension comes up for User before the class does.... I don't actually see the point of this result coming up because if I wanted a guzzle module I'd type either
Guzzle
or `mimetype`... not User... :/Maybe I'm missing something here, but it seems like a definite problem.