Merge from vscode 79a1f5a5ca0c6c53db617aa1fa5a2396d2caebe2

This commit is contained in:
ADS Merger
2020-05-31 19:47:51 +00:00
parent 84492049e8
commit 28be33cfea
913 changed files with 28242 additions and 15549 deletions

View File

@@ -35,6 +35,17 @@ interface IExternalUriResolver {
(uri: URI): Promise<URI>;
}
interface ITunnelProvider {
/**
* Support for creating tunnels.
*/
tunnelFactory?: ITunnelFactory;
/**
* Support for filtering candidate ports
*/
showPortCandidate?: IShowPortCandidate;
}
interface ITunnelFactory {
(tunnelOptions: ITunnelOptions): Promise<ITunnel> | undefined;
}
@@ -89,9 +100,14 @@ interface ICommand {
interface IHomeIndicator {
/**
* The identifier of the command to run when clicking the home indicator.
* The link to open when clicking the home indicator.
*/
command: string;
href: string;
/**
* @deprecated use `href` instead.
*/
command?: string;
/**
* The icon name for the home indicator. This needs to be one of the existing
@@ -193,14 +209,10 @@ interface IWorkbenchConstructionOptions {
readonly resolveExternalUri?: IExternalUriResolver;
/**
* Support for creating tunnels.
* A provider for supplying tunneling functionality,
* such as creating tunnels and showing candidate ports to forward.
*/
readonly tunnelFactory?: ITunnelFactory;
/**
* Support for filtering candidate ports
*/
readonly showCandidate?: IShowPortCandidate;
readonly tunnelProvider?: ITunnelProvider;
//#endregion
@@ -405,6 +417,7 @@ export {
IExternalUriResolver,
// Tunnel
ITunnelProvider,
ITunnelFactory,
ITunnel,
ITunnelOptions,