vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Focus hover action

Open Hydhen opened this issue 9 months ago • 0 comments

I'm mainly using the keyboard for working, I struggle with the editor hover feature. I mapped the showHover action like so:

    {
        "key": "ctrl+alt+enter",
        "command": "editor.action.showHover",
    }

Problem is, this shortcut doesn't focus the hover by default so I cannot scroll the preview without clicking on it with my mouse.

What do you think about adding the focus action to get something like:

    {
        "key": "ctrl+alt+enter",
        "runCommands": ["editor.action.showHover", "editor.action.focusHover"]
    }

Hydhen avatar Mar 07 '25 16:03 Hydhen