Skip to content

Commit

Permalink
0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
秦伟宽 committed Jun 17, 2022
1 parent e99bfb2 commit c100480
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "qinkuan",
"displayName": "JsonToModel",
"description": "JsonToModel,Support dart",
"version": "0.0.9",
"version": "0.0.10",
"author": {
"name": "光明哨兵-格雷福斯"
},
Expand Down Expand Up @@ -35,7 +35,8 @@
"key": "ctrl+.",
"mac": "cmd+.",
"when": "editorTextFocus"
},{
},
{
"command": "extension.json-to-model-file",
"key": "ctrl+f3",
"mac": "cmd+3",
Expand All @@ -55,15 +56,22 @@
"group": "navigation"
}
],
"editor/title/context": [
]
"editor/title/context": []
},
"configuration":{
"configuration": {
"title": "JSON转模型",
"properties": {
"JSONToModel.method-obj": {
"type": "object",
"default": {"return":"int","name":"my_func","params":["String params","Map params2"],"imp":"int a = 1;\n int b = 2;\n\n return a + b;"},
"default": {
"return": "int",
"name": "my_func",
"params": [
"String params",
"Map params2"
],
"imp": "int a = 1;\n int b = 2;\n\n return a + b;"
},
"description": "为每个模型添加一个方法。以json输入,方法名单词需下划线连接 \n例子:\n {\n \"return\": \"int\", 返回类型 \n \"name\": \"my_func\", 方法名 \n \"params\": [\n \"String params1\", 参数1 \n\"Map params2\", 参数2 \n],\n\"imp\":\"int a = 1; int b = 2; return a + b;\"\n}"
},
"JSONToModel.method-string": {
Expand Down

0 comments on commit c100480

Please sign in to comment.