genera-page README
一个自动生成页面的 VSCode 插件
package.json 功能开放指令注册留存
"contributes": {
"commands": [
{
"command": "genera-page.dialog",
"title": "生成 dialog-form【genera-page插件】"
},
{
"command": "genera-page.large-screen",
"title": "生成数据大屏【genera-page插件】"
},
{
"command": "genera-page.cockpit",
"title": "生成(图表)驾驶舱【genera-page插件】"
},
{
"command": "genera-page.batch",
"title": "生成文件集【genera-page插件】"
}
]
}
菜单显示留存
"menus": {
"explorer/context": [
{
"command": "genera-page.large-screen",
"group": "myGroup@1"
},
{
"command": "genera-page.cockpit",
"group": "myGroup@2"
},
{
"when": "resourceFilename == demo.json",
"command": "genera-page.batch",
"group": "inline"
},
{
"command": "genera-page.dialog",
"group": "z_commands@3"
}
]
}
| |