Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose interpreter quickpick API with filtering #19839

Merged
merged 5 commits into from
Sep 15, 2022

Conversation

karrtikr
Copy link

No description provided.

@karrtikr karrtikr added the no-changelog No news entry required label Sep 14, 2022
serviceManager.addSingleton<IExtensionSingleActivationService>(
IExtensionSingleActivationService,
SetInterpreterCommand,
);
serviceManager.addSingleton(IInterpreterQuickPick, SetInterpreterCommand);
Copy link
Author

Choose a reason for hiding this comment

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

I would like to have used the same SetInterpreterCommand object for both these interfaces but I'm not quite sure how to do that. Used

serviceManager.addBinding(IInterpreterQuickPick, IExtensionSingleActivationService)

But that still seems to create a new instance.

@karrtikr karrtikr marked this pull request as ready for review September 14, 2022 23:34
@karrtikr karrtikr marked this pull request as draft September 14, 2022 23:35
@karrtikr karrtikr force-pushed the interpreterquickpick branch from e642178 to c41a44b Compare September 14, 2022 23:39
@karrtikr karrtikr marked this pull request as ready for review September 14, 2022 23:39
@karrtikr karrtikr merged commit cb3c629 into microsoft:main Sep 15, 2022
@karrtikr karrtikr deleted the interpreterquickpick branch September 15, 2022 05:31
eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this pull request Oct 4, 2022
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
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.

2 participants