This commit is contained in:
Christof Marti 2020-01-14 16:59:02 +01:00
parent 6133239792
commit 66fa2c0d21
2 changed files with 6 additions and 2 deletions

View file

@ -40,7 +40,9 @@
"type": "array",
"description": "An array of extensions that should be installed into the container.",
"items": {
"type": "string"
"type": "string",
"pattern": "^([a-z0-9A-Z][a-z0-9\\-A-Z]*)\\.([a-z0-9A-Z][a-z0-9\\-A-Z]*)$",
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."
}
}
}

View file

@ -15,7 +15,9 @@
"type": "array",
"description": "An array of extensions that should be installed into the container.",
"items": {
"type": "string"
"type": "string",
"pattern": "^([a-z0-9A-Z][a-z0-9\\-A-Z]*)\\.([a-z0-9A-Z][a-z0-9\\-A-Z]*)$",
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."
}
},
"settings": {