-
Notifications
You must be signed in to change notification settings - Fork 874
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
Netbeans code templates - string functions #4621
Labels
Editor
Java
[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
kind:feature
A feature request
pending-response
Awaiting further information to be supplied
Comments
the templates should be https://freemarker.apache.org/ templates. I haven't tried it but it should already work, no? e.g: https://freemarker.apache.org/docs/ref_builtins_string.html#ref_builtin_c_lower_case |
@mbien It will be nice but I don't know how to use them :( I have tried the following codes:
And then use them in the code, but it will lead in exception:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Editor
Java
[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
kind:feature
A feature request
pending-response
Awaiting further information to be supplied
Description
Netbeans contains great tool „code templates“ that allows me to simplify my work.
For many years I missed last functionality for the perfection, which is some additional string function.
Use case/motivation
For example, I have at this time the following code template:
That allows me to quickly generate the code of generic getter & setter and simply replace the name
${PARAMETER}
with the real one. After that I have to replace the name${PROPERTY}
which should be the same like${PARAMETER}
but with the first letter lowercase.Will it be possible please to add functionalities like:
Related issues
No response
Are you willing to submit a pull request?
I want to, but I'm not a Java developer
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: