Search code examples
visual-studio-codekeyboard-shortcutsvscode-keybinding

Shortcut key in visual studio code to view the current editor tab's handle's context menu


Is there a shortcut in visual studio code to open the context menu of the currently open tab's handle? I want to open this menu via shortcut, not by right clicking on it with my mouse.

Here is the example:

tab menu example

There is a shortcut for this in visual studio Alt + - which i've found here: visual studio post


Solution

  • I don't think there is a bindable command for opening the the context menu for editor tab handles at the time of this writing. Searching "context menu" in the keyboard shortcut editor, there are editor.action.showContextMenu (for the editor area), and settings.action.showContextMenu (for the settings UI), but that it.

    Googling "github vscode issues keyboard shortcut tab context menu", I found the following:

    Both are closed as backlog candidates. Maybe some day they will be looked at again.

    I'm not aware of any workarounds.