
The idea is to have a context menu (when user right-clicks on a generator item) with following options:
- New configuration
- Uninstall generator
EDIT: Didn't find way to create context menu, I will add inline icons instead.
where New configuration option will open a new json file like:
{
"models": [
"./path/to/model"
],
"grammar": "path/to/grammar",
"ignoreCase": false,
"overwrite": false,
"outputPath": ""
}
After saving configuration file, it should be listed under appropriate generator.
Each configuration will have three actions:
- remove
- edit (json file)
- run
Extra: Configurations could be displayed using a web-view and html inside VS Code (similar like settings in VS Code itself).
The idea is to have a context menu (when user right-clicks on a generator item) with following options:
EDIT: Didn't find way to create context menu, I will add inline icons instead.
where New configuration option will open a new json file like:
{ "models": [ "./path/to/model" ], "grammar": "path/to/grammar", "ignoreCase": false, "overwrite": false, "outputPath": "" }After saving configuration file, it should be listed under appropriate generator.
Each configuration will have three actions:
Extra: Configurations could be displayed using a web-view and html inside VS Code (similar like settings in VS Code itself).