Closed notiv-nt closed 1 year ago
Can I just confirm exactly the behavior you are expecting here, so we can document it on the changelog?
Currently, in insert mode, if the suggest widget appears, then using j
and k
just types the letters, whereas up and down navigate the suggestions.
In command mode the suggest widget won't ever appear unless you explicitly call it up with VSCode keypress Ctrl-Space. Then both j
and k
and the up/down arrows dismiss the widget and move the cursor up or down a row. This merge request should make it so that up and down arrows navigate the suggestions, like they do in insert mode.
One question I have is what should happen in visual mode and visual line mode? Is it okay to make the arrows navigate the suggestions and not move the selection? I feel like that should be okay because the suggestions will only appear if you explicitly asked for them in the first place, but just to confirm.
For visual mode nothing changes i think (or at least i've changed already in my settings) And yes, if i explicitly call this widget, i expect to scroll through that with up/down keys
Thanks for the explanation and for the fix! I will merge today and hopefully put out a new release this weekend.
Problem: down/up keys don't work as expected if suggest is open