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

Why is Azure IoT Toolkit * activated? #564

Open
TylerLeonhardt opened this issue Dec 16, 2022 · 1 comment
Open

Why is Azure IoT Toolkit * activated? #564

TylerLeonhardt opened this issue Dec 16, 2022 · 1 comment

Comments

@TylerLeonhardt
Copy link
Member

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

@TylerLeonhardt
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant