We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a4edc8 commit 9c19fe9Copy full SHA for 9c19fe9
1 file changed
src/vs/workbench/electron-browser/actions.ts
@@ -616,9 +616,11 @@ export abstract class BaseSwitchWindow extends Action {
616
action: (!this.isQuickNavigate() && currentWindowId !== win.id) ? this.closeWindowAction : void 0
617
} as IFilePickOpenEntry));
618
619
+ const autoFocusIndex = (picks.indexOf(picks.filter(pick => pick.payload === currentWindowId)[0]) + 1) % picks.length;
620
+
621
this.quickOpenService.pick(picks, {
622
contextKey: 'inWindowsPicker',
- autoFocus: { autoFocusFirstEntry: true },
623
+ autoFocus: { autoFocusIndex },
624
placeHolder,
625
quickNavigateConfiguration: this.isQuickNavigate() ? { keybindings: this.keybindingService.lookupKeybindings(this.id) } : void 0
626
});
0 commit comments