src/vs/workbench/api/browser/mainThreadCLICommands.ts/RemoteExtensionCLIManagementService/validateExtensionKind
class RemoteExtensionCLIManagementService:	protected override validateExtensionKind(manifest: IExtensionManifest, output: CLIOutput): boolean {
		if (!this._extensionManifestPropertiesService.canExecuteOnWorkspace(manifest)) {
			output.log(localize('cannot be installed', "Cannot install the '{0}' extension because it is declared to not run in this setup.", getExtensionId(manifest.publisher, manifest.name)));
			return false;
		}
		return true;
	}