0

I am trying to get the same behaviour in VSCode as in Vim for cycling through the completion list.

With Vim shift+tab and tab respectively cycle up and down the completion list. I like it because I don't have to move my hand to arrow keys.

I found configuration for that kind of behaviour on this blog.

Problem is that suggested values selectNextQuickFix and selectPrevQuickFix apparently don't exist anymore in version 1.37.1.

I get this message: Value is not accepted. Valid values: [bla, bla, list of values]

Does anyone know which value should I put instead of those two to have the exact same behaviour?

dosvarog
  • 694
  • 1
  • 6
  • 20
  • Those quick fix commands are for.. well, quick fixes, not the completion list. The `suggestion` commands from the blog post you linked still seem to work. – Gama11 Aug 21 '19 at 14:10
  • Yes, I commented out quick fixes and suggestions work of course. I would still like to include quick fixes also... – dosvarog Aug 21 '19 at 14:23
  • 1
    Looking through VSCode sources, it looks like code actions don't have their own widget anymore but now use the context menu. Not sure if there's any commands for the up / down navigation there... – Gama11 Aug 21 '19 at 16:51

1 Answers1

0

version: 1.81.1

{
    "key": "ctrl+n",
    "command": "selectNextCodeAction",
    "when": "codeActionMenuVisible"
},
{
    "key": "ctrl+p",
    "command": "selectPrevCodeAction",
    "when": "codeActionMenuVisible"
},