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

Spec out how Commands can provide feedback to the user #118

Open
zadjii-msft opened this issue Oct 23, 2024 · 1 comment
Open

Spec out how Commands can provide feedback to the user #118

zadjii-msft opened this issue Oct 23, 2024 · 1 comment
Labels
Area-API Anything having to do with the actual interface the extensions use to communicate with the host

Comments

@zadjii-msft
Copy link
Owner

I had left this as a future consideration. We probably need it in the MLP.

If an extension does something and wants to present feedback to the user, how do?

ex:

  • when installing a new extension, provide a "Installing..." spinner
@zadjii-msft zadjii-msft added the Area-API Anything having to do with the actual interface the extensions use to communicate with the host label Oct 28, 2024
@zadjii-msft
Copy link
Owner Author

Car thoughts:

Right now, Command Palette is exclusively a client for objects that are hosted by COM servers in the extension processes. Could we have the host app also implement an object, then pass that back into the extension process? That way the extensions could have something to call back into us.

When we create a ICommandProvider, CmdPal can call ICommandProvider.Initialize(IExtensionHost). Then we could just have IExtensionHost.ShowMessage(message...) from inside the extension itself, or something like that.

I'd need to test if this is something that would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-API Anything having to do with the actual interface the extensions use to communicate with the host
Projects
None yet
Development

No branches or pull requests

1 participant