Skip to content

Commit 0857860

Browse files
authored
focus on first item in quick fix menu (microsoft#162064)
1 parent 4f0edb3 commit 0857860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminal/browser/xterm/quickFixAddon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class TerminalQuickFixAddon extends Disposable implements ITerminalAddon,
121121
if (actions) {
122122
this._decorationMarkerIds.add(decoration.marker.id);
123123
dom.addDisposableListener(e, dom.EventType.CLICK, () => {
124-
this._contextMenuService.showContextMenu({ getAnchor: () => e, getActions: () => actions });
124+
this._contextMenuService.showContextMenu({ getAnchor: () => e, getActions: () => actions, autoSelectFirstItem: true });
125125
});
126126
}
127127
}

0 commit comments

Comments
 (0)