From 82c57ad1fe4161bb129fb9cb0689e8a7ddb11ff9 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Tue, 9 Feb 2021 11:31:57 +0100 Subject: [PATCH] name and id are required for remote views Fixes --- src/vs/workbench/api/browser/viewsExtensionPoint.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/api/browser/viewsExtensionPoint.ts b/src/vs/workbench/api/browser/viewsExtensionPoint.ts index 4f841ded290..6ff83ca7c28 100644 --- a/src/vs/workbench/api/browser/viewsExtensionPoint.ts +++ b/src/vs/workbench/api/browser/viewsExtensionPoint.ts @@ -156,6 +156,7 @@ const viewDescriptor: IJSONSchema = { const remoteViewDescriptor: IJSONSchema = { type: 'object', + required: ['id', 'name'], properties: { id: { description: localize('vscode.extension.contributes.view.id', 'Identifier of the view. This should be unique across all views. It is recommended to include your extension id as part of the view id. Use this to register a data provider through `vscode.window.registerTreeDataProviderForView` API. Also to trigger activating your extension by registering `onView:${id}` event to `activationEvents`.'),