src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts/RemoteTunnelWorkbenchContribution/getLinkToOpen
class RemoteTunnelWorkbenchContribution:	private getLinkToOpen(connectionInfo: ConnectionInfo): string {
		const workspace = this.workspaceContextService.getWorkspace();
		const folders = workspace.folders;
		let resource;
		if (folders.length === 1) {
			resource = folders[0].uri;
		} else if (workspace.configuration) {
			resource = workspace.configuration;
		}
		const link = URI.parse(connectionInfo.link);
		if (resource?.scheme === Schemas.file) {
			return joinPath(link, resource.path).toString(true);
		}
		return joinPath(link, this.environmentService.userHome.path).toString(true);
	}