microsoft / microsoft/vscode-edge-devtools
Implement Terminal Link Handler
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 827
- Forks
- 358
- Avg merge
- 20h 32m
- Merged PRs (30d)
- 10
Description
Very often, the terminal is used to spawn a dev http server (nextjs and webpack do this):
It would be nice if the edge webview would open when clicking on the url.
Extensions can override the link click behavior by using registerTerminalLinkProvider.
However, I suggest to not do this by default, until https://github.com/microsoft/vscode/issues/200579 lands: Rather, VS Code should ask the user if they want to use the OS browser or edge dev tools or the simple browser that ships with VS Code.
For now, the extension could add a setting that would control if it registers a terminal link provider.
This optional feature would then push us to implement https://github.com/microsoft/vscode/issues/200579.
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.
Research direction
Start at the extension's terminal integration and the VS Code registerTerminalLinkProvider API. Trace how a terminal URL could open the Edge webview, then define the setting that controls registration. Done means the optional handler works when enabled and remains unregistered when disabled; the broader browser-choice behavior depends on VS Code issue #200579.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100