We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd9df6b commit 7b3348aCopy full SHA for 7b3348a
1 file changed
src/features/envCommands.ts
@@ -418,6 +418,8 @@ export async function addPythonProjectCommand(
418
};
419
}
420
await existingProjectsCreator.create(options);
421
+ // trigger refresh to populate environments within the new project
422
+ await Promise.all(em.managers.map((m) => m.refresh(options?.rootUri)));
423
return;
424
} catch (ex) {
425
if (ex === QuickInputButtons.Back) {
@@ -450,6 +452,8 @@ export async function addPythonProjectCommand(
450
452
451
453
try {
454
await creator.create(options);
455
456
457
458
459
return addPythonProjectCommand(resource, wm, em, pc);
0 commit comments