We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01af5db commit 552fe42Copy full SHA for 552fe42
ExtensionDocs/ContributionPoints/README.md
@@ -3,6 +3,19 @@
3
### configuration
4
configuration扩展点,会将扩展的配置项注册到HBuilderX的全局可视化配置里`设置`-`插件配置`。
5
6
+#### 属性列表
7
+
8
+##### title
9
+每个插件扩展的配置是分配到同一组下的,title指的是该组的名称,一般写的是插件名称。
10
11
+##### properties
12
+properties内配置的是一个jsonobject对象,该对象的key代表着要扩展的配置项id,value是一个符合[JSON Schema](https://json-schema.org/understanding-json-schema/reference/index.html)规范的jsonobject,目前支持的字段包括:
13
14
+- type 类型。支持的类型包括:string、boolean、number。
15
+- description 描述
16
+- default 默认值
17
+- enum 可选值,目前只有type为string或number时可用
18
19
#### 示例
20
```json
21
"contributes": {
0 commit comments