Create activation event/way for extensions to activate upon installation #236111
Description
Feature Request
It'd be great if there was an activation event/way for an extension to activate upon its installation, similar to how an extension's walkthroughs are automatically opened when the extension is installed. This would allow extensions to provide a more customized experience than what is possible with a walkthrough, without having to resort to using the *
activation event.
Assuming this is to be done, it may also be nice to expose the activation event that activated an extension, to the extension. That way the extension can know it was activated for install vs just a "normal" activation. I can open that feature request as well if this feature is deemed doable.
Alternative Solution Explored
- Add a walkthrough to the extension
- Listen to the
onWalkthrough
activation event for that walkthrough
Now, assuming the walkthrough is actually shown when the docs say it should be, the extension can be activated on install.
However, I've had trouble exploring this solution due to not being able to get a walkthrough to show more than once for an extension.
Activity