Skip to content

Commit 8e61977

Browse files
authored
Fix filtering with QuickPick (#21524)
Fixes #21518
1 parent 84f334f commit 8e61977

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/client/pythonEnvironments/creation/common/workspaceSelection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ export async function pickWorkspaceFolder(
6868
placeHolder: CreateEnv.pickWorkspacePlaceholder,
6969
ignoreFocusOut: true,
7070
canPickMany: options?.allowMultiSelect,
71+
matchOnDescription: true,
72+
matchOnDetail: true,
7173
},
7274
options?.token,
7375
);

src/client/pythonEnvironments/creation/provider/condaUtils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export async function pickPythonVersion(token?: CancellationToken): Promise<stri
4747
items,
4848
{
4949
placeHolder: CreateEnv.Conda.selectPythonQuickPickPlaceholder,
50+
matchOnDescription: true,
51+
ignoreFocusOut: true,
5052
},
5153
token,
5254
);

0 commit comments

Comments
 (0)