Home > Mobile >  vscode `ctrl tab` needs confirmation first
vscode `ctrl tab` needs confirmation first

Time:12-02

when I press ctrl tab it doesn't move the file right away but rather shows a list of all open files

I need the default behavior where it takes me right away to the last opened file without having to press enter

PS: if this helps in any way I'm using Linux Mint (LMDE 4 (debbie) x86_64)

CodePudding user response:

You don't have to press Enter, just release the Ctrl key. That will take you to the last file you were in.

For instance, if you're in FileA and you have FileB and FileC open and you were last in FileC, Ctrl Tab shows the list, and when you release Ctrl, you're taken to FileC. Do it again (releasing Ctrl) and you'll be back in FileA.

CodePudding user response:

Check your keyboard shortcuts. Find the command:

workbench.action.quickOpenNavigateNextInEditorPicker

By default it is set to Ctrl-Tab, if yours is not, set it that keybinding by clicking on the pencil icon to the left of the command on hover and enter Ctrl-Tab into the dialog box.

That command should also be using the when clauses: inEditorsPicker && inQuickOpen

  • Related