mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Continue work on url opener api
For #109277 - Add `option` opener priority. This means the oper will only be shown if requested but will not replace the default opener - Persist registered openers for IntelliSense suggestions
This commit is contained in:
@@ -808,7 +808,7 @@ export interface MainThreadUriOpenersShape extends IDisposable {
|
||||
}
|
||||
|
||||
export interface ExtHostUriOpenersShape {
|
||||
$canOpenUri(id: string, uri: UriComponents, token: CancellationToken): Promise<modes.ExternalUriOpenerEnablement>;
|
||||
$canOpenUri(id: string, uri: UriComponents, token: CancellationToken): Promise<modes.ExternalUriOpenerPriority>;
|
||||
$openUri(id: string, context: { resolvedUri: UriComponents, sourceUri: UriComponents }, token: CancellationToken): Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user