microsoft/vscode-azure-iot-toolkit

Why is Azure IoT Toolkit `*` activated?

Opened this issue ยท 1 comments

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:

  1. Open a blank VS Code window
  2. install Azure IoT Toolkit
  3. reload the window
  4. 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

Maybe @c-ryan-k can comment on this?