microsoft / microsoft/vscode-edge-devtools

Support lazy activation

Open
#1,892 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement tracked
Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

These are the current activation events:

Image

Basically, the extension is always active. However, I don't think the extension does much when it does not actively show a browser and I imagine many users dont use this extension every day (even though this extension brings an amazing value to VS Code).

If you could remove all these activation events and only activate when webviews are restored or the user explicitly starts a launch target or triggers a command to open a new webview/a preview, that would improve the startup time for millions of users.
It would also reduce the memory pressure of all these users and allow for immediate extension updates, as extensions which have not been activated yet can be updated without restarting VS Code.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the extension's activation events and the entry points for restored webviews, launch targets, and commands that open a new webview or preview. Confirm which activation paths are still required and verify that the extension remains inactive until one of those paths is used, while preserving the existing webview and launch behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.