提交 dfde133e 编写于 作者: D Denis Malinochkin

Add `badges` property

上级 0dcbee09
......@@ -261,6 +261,28 @@ const schema: IJSONSchema = {
defaultSnippets: [{ label: 'onLanguage', body: 'onLanguage:{{languageId}}'}, {label: 'onCommand', body: 'onCommand:{{commandId}}'}, {label: 'onDebug', body: 'onDebug:{{type}}'}, {label: 'workspaceContains', body: 'workspaceContains:{{fileName}}'}],
}
},
badges: {
type: 'array',
description: nls.localize('vscode.extension.badges', 'Array of badges to display in the sidebar of the Marketplace\'s extension page.'),
items: {
type: 'object',
required: ['url', 'href', 'description'],
properties: {
url: {
type: 'string',
description: nls.localize('vscode.extension.badges.url', 'Badge image URL.')
},
href: {
type: 'string',
description: nls.localize('vscode.extension.badges.href', 'Badge link.')
},
description: {
type: 'string',
description: nls.localize('vscode.extension.badges.description', 'Badge description.')
}
}
}
},
extensionDependencies: {
description: nls.localize('vscode.extension.extensionDependencies', 'Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp.'),
type: 'array',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册