Enable more than just localhost for port forwarding providers

Part of #81388
This commit is contained in:
Alex Ross
2019-12-18 10:14:36 +01:00
parent c7ab68cc80
commit 8e2b3047eb
11 changed files with 187 additions and 133 deletions

View File

@@ -48,7 +48,7 @@ export class ExtHostTunnelService implements IExtHostTunnelService {
async makeTunnel(forward: TunnelOptions): Promise<vscode.Tunnel | undefined> {
return undefined;
}
async $findCandidatePorts(): Promise<{ port: number; detail: string; }[]> {
async $findCandidatePorts(): Promise<{ host: string, port: number; detail: string; }[]> {
return [];
}
async setForwardPortProvider(provider: vscode.RemoteAuthorityResolver | undefined): Promise<IDisposable> { return { dispose: () => { } }; }