skip to Main Content

There is a keyboard shortcut for scrolling down and up in the intellisense suggestion menu. I forget what the default binding is but I use "j". However, this doesn’t apply to the quick fix menu. I couldn’t find any mention of a keyboard shortcut for this behavior. Would I have to write my own extension?

2

Answers


  1. It appears you should use the list scroll commands:

    1. list.scrollDown Ctrl+DownArrow
    2. list.scrollUp Ctrl+UpArrow
    Login or Signup to reply.
  2. Looks like selectPrevCodeAction and selectNextCodeAction is what we need.

    Sadly I was not able to make j / k work for whatever reason, but ctrl+j / ctrl+k worked just fine.

    Here are the settings you want:

        {
            "key": "ctrl+j",
            "command": "selectPrevCodeAction",
            "when": "codeActionMenuVisible"
        },
        {
            "key": "ctrl+k",
            "command": "selectNextCodeAction",
            "when": "codeActionMenuVisible"
        }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search