From 4ed3fa06b6a7e45b29c736c82c81821c2e1df330 Mon Sep 17 00:00:00 2001 From: Anna Burlyaeva Date: Fri, 22 Sep 2023 12:43:25 -0700 Subject: [PATCH] =?UTF-8?q?Changed=20order=20of=20options=20in=20Create=20?= =?UTF-8?q?Environment=20flow=20when=20.venv=20exists=E2=80=A6=20(#22055)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/microsoft/vscode-python/issues/22038 --- src/client/pythonEnvironments/creation/provider/venvUtils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/pythonEnvironments/creation/provider/venvUtils.ts b/src/client/pythonEnvironments/creation/provider/venvUtils.ts index 723337b2a7fa..f0828be8d1f7 100644 --- a/src/client/pythonEnvironments/creation/provider/venvUtils.ts +++ b/src/client/pythonEnvironments/creation/provider/venvUtils.ts @@ -292,11 +292,14 @@ export async function pickExistingVenvAction( if (workspaceFolder) { if (await hasVenv(workspaceFolder)) { const items: QuickPickItem[] = [ - { label: CreateEnv.Venv.recreate, description: CreateEnv.Venv.recreateDescription }, { label: CreateEnv.Venv.useExisting, description: CreateEnv.Venv.useExistingDescription, }, + { + label: CreateEnv.Venv.recreate, + description: CreateEnv.Venv.recreateDescription, + }, ]; const selection = (await showQuickPickWithBack(