Skip to content

Do not query to get all interpreters where it's not needed in the extension code - #17030

Merged
Kartik Raj (karrtikr) merged 7 commits into
microsoft:mainfrom
karrtikr:fixextensiondiscoery
Aug 23, 2021
Merged

Do not query to get all interpreters where it's not needed in the extension code#17030
Kartik Raj (karrtikr) merged 7 commits into
microsoft:mainfrom
karrtikr:fixextensiondiscoery

Conversation

@karrtikr

Copy link
Copy Markdown


public async getSuggestions(resource: Resource, ignoreCache?: boolean): Promise<IInterpreterQuickPickItem[]> {
const interpreters = await this.interpreterManager.getInterpreters(resource, {
const interpreters = await this.interpreterManager.getAllInterpreters(resource, {

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.

Will be fixed to use getInterpreters() correctly in #17043.

@karrtikr Kartik Raj (karrtikr) changed the title Fix extension to use getInterpreters() correctly Do not query to get all interpreters where it's not needed in the extension code Aug 20, 2021
@karrtikr
Kartik Raj (karrtikr) marked this pull request as ready for review August 20, 2021 23:11

@karrtikr Kartik Raj (karrtikr) left a comment

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.

I'm merging this as it's needed for the next item, still feel free to let me know of any changes I need to make.

@karrtikr
Kartik Raj (karrtikr) merged commit d4f135f into microsoft:main Aug 23, 2021
@karrtikr
Kartik Raj (karrtikr) deleted the fixextensiondiscoery branch August 23, 2021 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant