Skip to content

Block on displaying selected interpreter in the status bar on startup - #15971

Merged
Kartik Raj (karrtikr) merged 6 commits into
microsoft:mainfrom
karrtikr:fs
Apr 30, 2021
Merged

Block on displaying selected interpreter in the status bar on startup#15971
Kartik Raj (karrtikr) merged 6 commits into
microsoft:mainfrom
karrtikr:fs

Conversation

@karrtikr

@karrtikr Kartik Raj (karrtikr) commented Apr 15, 2021

Copy link
Copy Markdown

@karrtikr Kartik Raj (karrtikr) added the no-changelog No news entry required label Apr 15, 2021
@karrtikr Kartik Raj (karrtikr) changed the title Ensure extension is ready for use faster Block on getting selected interpreter in the status bar on startup Apr 26, 2021
@karrtikr Kartik Raj (karrtikr) changed the title Block on getting selected interpreter in the status bar on startup Block on displaying selected interpreter in the status bar on startup Apr 26, 2021
@karrtikr
Kartik Raj (karrtikr) marked this pull request as ready for review April 28, 2021 21:17
@karthiknadig

Copy link
Copy Markdown
Member

Kartik Raj (@karrtikr) can you rebase with main. The Sonar issue should be fixed in main.


serviceManager.get<ICodeExecutionManager>(ICodeExecutionManager).registerCommands();

interpreterManager

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were there any issues caused by the absence of await here?

@karrtikr Kartik Raj (karrtikr) Apr 29, 2021

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extension would finish loading (Python extension loading... text would disappear) but the user won't see the selected interpreter in the status bar, which might be confusing.

This improves things a bit, but it might increase extension activation time we record in telemetry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants