-
Notifications
You must be signed in to change notification settings - Fork 58
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
Automatic export #41
Comments
I'm not sure I understand what you mean. Do you mean export to an image file whenever the file from which it was derived/generated changes? What do you think of the following behaviour: Have an auto-export flag in the preferences. When it is set, whenever a file changes that has a corresponding image file (previously) generated by plantuml in the same folder, re-generate the image. This means you must manually export the image once, later it will be auto-replaced. |
Yeah for example. Nice would be also to select which format ( not only images but raw puml for example) Some more questions in general: Thanks for the quick reply anyway :) |
The format should be derived from the file extension when you save the diagram. If the file extension is puml or plantuml, the diagram source is saved, otherwise the image. The preferences are those provided by Eclipse, e.g. Window -> Preferences on Windows, Command-, on Mac. If you want to limit which classes to generate from an Ecore file, please create another issue. |
I second this. The should be an option, that for This is good to commit to version control, and other teammates do not need to install plugin to view. |
another good scenario where this automatic png export would be useful: Ie. if an asciidoc uses normal import for images rather than embedded plantuml, then the asciidoc preview will be correct too. |
@paulvi However, there is one drawback when using exporting png and saving them in the versioning system. |
You don't need to save them in git but auto save would be extremely convenient. |
Agreed, I do think autogeneration of png is useful, |
Generally managing what's checked in is independent of the plug-in feature I think. |
Ist it possible to configure an automatic export on build events or on save to a specified puml file?
Anyway thanks for the plugin!
The text was updated successfully, but these errors were encountered: