microsoft / microsoft/vscode-edge-devtools
Consider changing your activation events
Open
@antross is already working on this.
Since Jan 18, 2022.
enhancement
tracked
- Dominant language
- TypeScript
- Stars
- 827
- Forks
- 358
- Avg merge
- 20h 32m
- Merged PRs (30d)
- 10
Description
Hi from the VS Code core team 👋
I noticed you have a lot of very eager activation events:
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.