atom-autocomplete-php
atom-autocomplete-php copied to clipboard
Improve the ranking/results in autocomplete.
I primarily use this plugin for the inclusion of dependencies as I'm typing, scenario: I type User
then it adds the use 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_from_extension 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.
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.