mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 01:25:38 -05:00
Merge from vscode 8df646d3c5477b02737fc10343fa7cf0cc3f606b
This commit is contained in:
@@ -182,6 +182,12 @@ export interface IQuickPickAcceptEvent {
|
||||
inBackground: boolean;
|
||||
}
|
||||
|
||||
export enum ItemActivation {
|
||||
FIRST = 1,
|
||||
SECOND,
|
||||
LAST
|
||||
}
|
||||
|
||||
export interface IQuickPick<T extends IQuickPickItem> extends IQuickInput {
|
||||
|
||||
value: string;
|
||||
@@ -237,20 +243,17 @@ export interface IQuickPick<T extends IQuickPickItem> extends IQuickInput {
|
||||
|
||||
autoFocusOnList: boolean;
|
||||
|
||||
/**
|
||||
* If enabled, will try to select the second entry of the picks
|
||||
* once they appear instead of the first one. This is useful
|
||||
* e.g. when `quickNavigate` is enabled to be able to select
|
||||
* a previous entry by just releasing the quick nav keys.
|
||||
*/
|
||||
autoFocusSecondEntry: boolean;
|
||||
|
||||
quickNavigate: IQuickNavigateConfiguration | undefined;
|
||||
|
||||
activeItems: ReadonlyArray<T>;
|
||||
|
||||
readonly onDidChangeActive: Event<T[]>;
|
||||
|
||||
/**
|
||||
* Allows to control which entry should be activated by default.
|
||||
*/
|
||||
itemActivation: ItemActivation;
|
||||
|
||||
selectedItems: ReadonlyArray<T>;
|
||||
|
||||
readonly onDidChangeSelection: Event<T[]>;
|
||||
|
||||
Reference in New Issue
Block a user