This commit is contained in:
Sandeep Somavarapu
2020-11-03 14:40:05 +01:00
parent 7936093c33
commit f5490aed3d
2 changed files with 7 additions and 0 deletions

View File

@@ -28,6 +28,10 @@ const configurationEntrySchema: IJSONSchema = {
properties: {
description: nls.localize('vscode.extension.contributes.configuration.properties', 'Description of the configuration properties.'),
type: 'object',
propertyNames: {
pattern: '\\S+',
patternErrorMessage: nls.localize('vscode.extension.contributes.configuration.property.empty', 'Property should not be empty.'),
},
additionalProperties: {
anyOf: [
{ $ref: 'http://json-schema.org/draft-07/schema#' },