Skip to content

Commit

Permalink
Remove first cut of QuickInput API (#49340)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed May 28, 2018
1 parent 86feb84 commit a48089c
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,30 +561,6 @@ declare module 'vscode' {

//#endregion

//#region Multi-step input

export namespace window {

/**
* Collect multiple inputs from the user. The provided handler will be called with a
* [`QuickInput`](#QuickInput) that should be used to control the UI.
*
* @param handler The callback that will collect the inputs.
*/
export function multiStepInput<T>(handler: (input: QuickInput, token: CancellationToken) => Thenable<T>, token?: CancellationToken): Thenable<T>;
}

/**
* Controls the UI within a multi-step input session. The handler passed to [`window.multiStepInput`](#window.multiStepInput)
* should use the instance of this interface passed to it to collect all inputs.
*/
export interface QuickInput {
showQuickPick: typeof window.showQuickPick;
showInputBox: typeof window.showInputBox;
}

//#endregion

//#region mjbvz: Unused diagnostics
/**
* Additional metadata about the type of diagnostic.
Expand Down

0 comments on commit a48089c

Please sign in to comment.