mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
expose matchOnDetail in API
This commit is contained in:
5
src/vs/vscode.d.ts
vendored
5
src/vs/vscode.d.ts
vendored
@@ -1083,6 +1083,11 @@ declare namespace vscode {
|
||||
*/
|
||||
matchOnDescription?: boolean;
|
||||
|
||||
/**
|
||||
* An optional flag to include the detail when filtering the picks.
|
||||
*/
|
||||
matchOnDetail?: boolean;
|
||||
|
||||
/**
|
||||
* An optional string to show as place holder in the input box to guide the user what to pick on.
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,8 @@ export class ExtHostQuickOpen {
|
||||
let quickPickWidget = this._proxy.$show({
|
||||
autoFocus: { autoFocusFirstEntry: true },
|
||||
placeHolder: options && options.placeHolder,
|
||||
matchOnDescription: options && options.matchOnDescription
|
||||
matchOnDescription: options && options.matchOnDescription,
|
||||
matchOnDetail: options && options.matchOnDetail
|
||||
});
|
||||
|
||||
return itemsPromise.then(items => {
|
||||
|
||||
Reference in New Issue
Block a user