@linkdesk/plugin-sdk 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linkdesk/plugin-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "@linkdesk/plugin-sdk——LinkDesk 插件作者 SDK(对标 @types/vscode):window.linkdesk.* 类型 + 一键 build(.linkdesk-plugin) + dev 宿主 + plugin.json 验证 + eslint 门禁(E6#54d)。作者 npm i 后零壳源码依赖。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
},
|
|
471
471
|
"titleBar": {
|
|
472
472
|
"type": "object",
|
|
473
|
-
"description": "顶栏按钮声明——对标 VS Code titleBar
|
|
473
|
+
"description": "顶栏按钮声明——对标 VS Code titleBar。声明标题栏左侧/右侧的按钮:图标按钮(icon)或全文字按钮(label),二者填一个。",
|
|
474
474
|
"properties": {
|
|
475
475
|
"left": {
|
|
476
476
|
"type": "array",
|
|
@@ -481,6 +481,7 @@
|
|
|
481
481
|
"properties": {
|
|
482
482
|
"command": { "type": "string", "description": "点击执行的命令 ID" },
|
|
483
483
|
"icon": { "type": "string", "description": "codicon 图标名(如 codicon-settings)或图片路径" },
|
|
484
|
+
"label": { "type": "string", "description": "按钮文字(E6#57.11)——填了就不渲染 icon。'$键名' = 取该 context key 的值当文字(如 $updateButtonLabel);否则当 i18n key(本仓 i18n key = 中文原文)" },
|
|
484
485
|
"when": { "type": "string", "description": "context key when 条件——不满足时按钮隐藏" }
|
|
485
486
|
},
|
|
486
487
|
"additionalProperties": false
|
|
@@ -495,6 +496,7 @@
|
|
|
495
496
|
"properties": {
|
|
496
497
|
"command": { "type": "string", "description": "点击执行的命令 ID" },
|
|
497
498
|
"icon": { "type": "string", "description": "codicon 图标名(如 codicon-settings)或图片路径" },
|
|
499
|
+
"label": { "type": "string", "description": "按钮文字(E6#57.11)——填了就不渲染 icon。'$键名' = 取该 context key 的值当文字(如 $updateButtonLabel);否则当 i18n key(本仓 i18n key = 中文原文)" },
|
|
498
500
|
"when": { "type": "string", "description": "context key when 条件——不满足时按钮隐藏" }
|
|
499
501
|
},
|
|
500
502
|
"additionalProperties": false
|