mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-15 16:34:50 +01:00
name and id are required for remote views
Fixes
This commit is contained in:
@@ -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`.'),
|
||||
|
||||
Reference in New Issue
Block a user