Handles opening uris to external resources, such as http(s) links.
Extensions can implement an
ExternalUriOpener to open
http links to a webserver
inside of the editor instead of having the link be opened by the web browser.
Currently openers may only be registered for
Check if the opener can open a uri.
The uri being opened. This is the uri that the user clicked on. It has not yet gone through port forwarding.
Cancellation token indicating that the result is no longer needed.
Priority indicating if the opener can open the external uri.
Open a uri.
This is invoked when:
canOpenExternalUriis called and if the user selects this opener, then
The uri to open. This uri may have been transformed by port forwarding, so it
may not match the original uri passed to
ctx.originalUri to check the
Additional information about the uri being opened.
Cancellation token indicating that opening has been canceled.
Thenable indicating that the opening has completed.