Why is Azure IoT Toolkit `*` activated?
Opened this issue ยท 1 comments
TylerLeonhardt commented
Describe the bug
๐ from the VS Code team. We noticed that this extension is *
activated.
When you are *
activated, you compete with vscode for start up time and as a result, you hurt vscode's startup time in the process.
It's better to be reactive and only activate when the user interacts with your extension:
- via a command
- via a view being visible
- etc
To Reproduce
Steps to reproduce the behavior:
- Open a blank VS Code window
- install Azure IoT Toolkit
- reload the window
- Azure IoT Toolkit is activated
Expected behavior
It shouldn't activate until needed.
Additional context
Activation events for your reference
https://code.visualstudio.com/api/references/activation-events
TylerLeonhardt commented
Maybe @c-ryan-k can comment on this?