Community
Participate
Working Groups
I have started using the Java templates (Java->Editor->Templates) a lot recently. In my application, I use a special type of setter method for data accessor objects that mark the object as dirty if the new value is different than the old. I have written a template to create this setter, but I cannot get it to camel case the name of the field. A special variable, maybe "${id:camel(var)}" would work. I could then type in (or paste) the var in the parameter list and have the template generate setVar using "set${id:camel(var)}".
Note that you can write your own resolver using the org.eclipse.ui.editors extension point.
duplicate of bug 12756
*** This bug has been marked as a duplicate of bug 12756 ***