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

Support customized template path for @CheckedTemplate #893

Closed
ia3andy opened this issue Jul 5, 2023 · 4 comments
Closed

Support customized template path for @CheckedTemplate #893

ia3andy opened this issue Jul 5, 2023 · 4 comments
Assignees
Labels
Milestone

Comments

@ia3andy
Copy link

ia3andy commented Jul 5, 2023

See IJ PR redhat-developer/intellij-quarkus#1173

image

should be templates/game/...

cc @mkouba can maybe confirm?

@ia3andy
Copy link
Author

ia3andy commented Jul 5, 2023

@CheckedTemplate(defaultName = "game") is not working either, I am not sure what is what

@fbricon
Copy link
Collaborator

fbricon commented Jul 5, 2023

@fbricon fbricon added enhancement New feature or request qute labels Jul 5, 2023
@fbricon fbricon changed the title @CheckedTemplate(basePath) is not processed Support customized template path for @CheckedTemplate Jul 5, 2023
@mkouba
Copy link
Collaborator

mkouba commented Jul 7, 2023

should be templates/game/...

cc @mkouba can maybe confirm?

Yes.

@CheckedTemplate(defaultName = "game") is not working either, I am not sure what is what

defaultName defines the way a template name is extracted from the method name. By default, the element name is taken as-is. The other strategies include "hyphenated element name"; fooBar() -> foo-bar, and "underscored element name"; fooBar() -> foo_bar.

@angelozerr
Copy link
Contributor

Fixed with #972

@angelozerr angelozerr added this to the 0.19.0 milestone Jul 12, 2024
@angelozerr angelozerr self-assigned this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants