-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command to run generator from textX view #30
Comments
A progress so far. By default, configurations are saved under @igordejanovic @goto40 Some thoughts/ideas? |
@danixeee Here are some thoughts:
I'm rethinking the set of params to textX generators. Maybe it would be better |
@igordejanovic Thanks for feedback.
From issue description:
When user clicks on generator item, I will have language and target information. I guess I will programatically add it to the configuration file, since it will be required for running a generator.
Do you mean instead of |
Sounds good. So it will end up in the config file. If those values are changed then the generator will be "moved" visually under appropriate node in the generator list.
I'm thinking about current parameters of the generators call in textX. Probably that change won't affect the CLI so if you are calling generator from CLI it should work without change. Still not sure whether we should change that though. |
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:
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).
The text was updated successfully, but these errors were encountered: