Skip to content

Command to run generator from textX view #30

Open
@danixeee

Description

@danixeee

image

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).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions