Checking for and calling another extension #61
-
Hello, The extension in question is MJML (published by MJML) mjmlio.vscode-mjml, and I would like to be able to call 'MJML: Open Preview to the Side' and others. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes! The APIs you're interested in are here. Whatever an extension returns from its |
Beta Was this translation helpful? Give feedback.
-
The command IDs are listed in the extension gallery, under "feature contributions". You can run a command using, eg, |
Beta Was this translation helpful? Give feedback.
Yes! The APIs you're interested in are here. Whatever an extension returns from its
activate()
method, will be visible to other extensions as the.exports
field on the result fromgetExtension
.