"contributes": {
"configuration":[
{
"type":"object",
"title": "Settings -------",setting左侧树显示
"properties": {
"vscodePluginDemo.yourName": { 唯一id标识
"type": "string",
"default": "guest",
"description": "你的名字2"
},
"vscodePluginDemo.showTip": {
"type": "boolean",
"default": true,
"description": "启动时显示自定义欢迎页2"
}
}
},{
"title": "Settings2 ----------",
"properties": {
"vscodePluginDemo.yourName2": {
"type": "string",
"default": "guest",
"description": "你的名字2"
},
"vscodePluginDemo.showTip2": {
"type": "boolean",
"default": true,
"description": "启动时显示自定义欢迎页2"
}
}
}]
},
codearts.workspace.getConfiguration().get('vscodePluginDemo.yourName')