vscode-edge-devtools
vscode-edge-devtools copied to clipboard
Consider changing your activation events
Hi from the VS Code core team 👋
I noticed you have a lot of very eager activation events:
https://github.com/microsoft/vscode-edge-devtools/blob/7bc1699ca9a98bcda09ba954df2658fa543a0909/package.json#L39-L57
Ideally extensions would only activate when they are actually being used (ie. to debug Edge). Here are some thoughts:
- Use
onDebugInitialConfigurationsandonDebugResolveinstead ofonDebug(docs recommends this). I rarely debug using this extension but often debug, so the Edge extension ends up activating and wasting system resources. - Avoid
onLanguageunless you have a compelling reason to do so, opening a typescript file does not imply I want to debug it via Edge.
Thanks for this, we will look into it.