Skip to content

Commit

Permalink
Changed order of options in Create Environment flow when .venv exists… (
Browse files Browse the repository at this point in the history
#22055)

closes #22038
  • Loading branch information
annaburlyaeva authored Sep 22, 2023
1 parent 7693fcb commit 4ed3fa0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client/pythonEnvironments/creation/provider/venvUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4ed3fa0

Please sign in to comment.