src/vs/workbench/contrib/extensions/browser/extensionsActions.ts/InstallLocalExtensionsInRemoteAction/getExtensionsToInstall
class InstallLocalExtensionsInRemoteAction:	protected getExtensionsToInstall(local: IExtension[]): IExtension[] {
		return local.filter(extension => {
			const action = this.instantiationService.createInstance(RemoteInstallAction, true);
			action.extension = extension;
			return action.enabled;
		});
	}