Skip to content
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

Allow custom file extension for files generated by @Interface/@Enum #36

Closed
raner opened this issue Jul 22, 2020 · 0 comments
Closed

Allow custom file extension for files generated by @Interface/@Enum #36

raner opened this issue Jul 22, 2020 · 0 comments
Milestone

Comments

@raner
Copy link
Owner

raner commented Jul 22, 2020

By default, all files generated by @Interface or @Enum annotations have a .java extension. It should be possible to change this default extension to something else, probably best with a per-package annotation (e.g., "@Template"?) that might also be used to customize other per-package parameters of code generation.

For downstream purposes, this particular feature might be sufficient replacement for self-type support (issue #33) or custom code generation templates.

@raner raner added this to the 1.2.0 milestone Jul 22, 2020
raner added a commit that referenced this issue Aug 12, 2020
…extensions

Issue #36: enabled custom file extensions at package level
raner added a commit that referenced this issue Aug 12, 2020
…notations

Issue #36: enabled custom file extensions at annotation level
@raner raner closed this as completed Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant