completion-nvim icon indicating copy to clipboard operation
completion-nvim copied to clipboard

Allow reverse suggestion ordering

Open r-bar opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Vim's default completion menu behavior is frustrating. When the completion menu appears the most relevant suggestion is placed at the bottom of the list, furthest from the cursor. This means that your eye must find the best suggestion furthest away in a (potentially rapidly changing) list.

Describe the solution you'd like It would be helpful to provide a way to reverse the order of the items in the completion menu.

r-bar avatar Nov 02 '20 11:11 r-bar

I think the example screenshot is needed.

Shougo avatar Nov 02 '20 12:11 Shougo

I agree that this can be quite frustrating especially with bigger projects with a lot of dependencies. This is an example from a java project:

image

Notice that there is lookupOperations just above, but if I start typing "loo", I will not even see lookupOperations suggested, despite it being the most relevant. To see that suggestion, I would have to scroll way down: image

This means that you either have to scroll a lot and search through a ton of results, or type a really significant portion of the word, which kind of defeats the purpose of having a completion engine.

jemag avatar Jan 10 '21 17:01 jemag