Skip to content

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