mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Update contributes.configuration
This commit is contained in:
1606
configuration-sample/package-lock.json
generated
1606
configuration-sample/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -27,8 +27,52 @@
|
||||
],
|
||||
"contributes": {
|
||||
"configuration": [
|
||||
{
|
||||
"title": "Settings Editor Widget Samples",
|
||||
"order": 2,
|
||||
"properties": {
|
||||
"conf.settingsEditor.boolObjectSetting": {
|
||||
"type": "object",
|
||||
"description": "An example bool object setting.",
|
||||
"properties": {
|
||||
"prop1": {
|
||||
"type": "boolean",
|
||||
"description": "Property 1"
|
||||
},
|
||||
"prop2": {
|
||||
"type": "boolean",
|
||||
"description": "Property 2"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"default": {
|
||||
"prop1": true,
|
||||
"prop2": false
|
||||
}
|
||||
},
|
||||
"conf.settingsEditor.uniqueEnumArraySetting": {
|
||||
"type": "array",
|
||||
"description": "An example enum array setting.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"red",
|
||||
"yellow",
|
||||
"blue"
|
||||
]
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"conf.settingsEditor.multilineSetting": {
|
||||
"type": "string",
|
||||
"description": "An example multiline setting.",
|
||||
"editPresentation": "multilineText"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Configuration Samples",
|
||||
"order": 1,
|
||||
"properties": {
|
||||
"conf.view.showOnWindowOpen": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user