Skip to content

Commit f42fb24

Browse files
committed
Ensure only one status item is shown for python
1 parent 2ff1423 commit f42fb24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/client/interpreter/display/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ export class InterpreterDisplay implements IInterpreterDisplay, IExtensionSingle
115115
}
116116
}
117117
private async updateDisplay(workspaceFolder?: Uri) {
118+
if (useEnvExtension()) {
119+
this.statusBar?.hide();
120+
this.languageStatus?.dispose();
121+
this.languageStatus = undefined;
122+
return;
123+
}
118124
const interpreter = await this.interpreterService.getActiveInterpreter(workspaceFolder);
119125
if (
120126
this.currentlySelectedInterpreterDisplay &&

0 commit comments

Comments
 (0)