atom-autocomplete-php icon indicating copy to clipboard operation
atom-autocomplete-php copied to clipboard

Improve the ranking/results in autocomplete.

Open wlkns opened this issue 8 years ago • 1 comments

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...

image 2017-01-25 at 11 34 29 am

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.

wlkns avatar Jan 25 '17 11:01 wlkns

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.

prolific avatar Feb 25 '17 13:02 prolific