-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Open
Labels
apiapi-proposalfeature-requestRequest for new features or functionalityRequest for new features or functionalityunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach
Milestone
Description
Overview
Let extensions hook into url opening. Motivating use case: I click on a link in the integrated terminal and it opens in my browser preview extension
Potential places to handle links:
- Links in the terminal
- Links in documents
- Links from the remote port forwarding views
- Debugger launch?
- Open external?
Additional requirements
-
A url opener should be able to decline opening a link
Some openers may only support specific types of links, such as
localhost -
Clicking a link should activate relevant extensions
We'd need a new activation event so that extensions can make sure they handle link opening
-
Let users fallback to VS Code's default behavior
This typically is to open using the default browser
-
Handle multiple url openers being registered at the same time
Users should be able to select which opener to use in this case. They should potentially be able to specify a default opener.
disco0, r3m0t, Yukaii, randomir, HadesArchitect and 1 more
Metadata
Metadata
Assignees
Labels
apiapi-proposalfeature-requestRequest for new features or functionalityRequest for new features or functionalityunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach