|Quick fix and Generate getters/setters are inconsistent [message #879620]
||Thu, 31 May 2012 10:31
| Chris S
Registered: November 2011
I'm working on a Java project with eclipse 3.7.2 where we have custom code templates for getters and setters. So when I do "Source->Generate getters and Setters..", the new methods are according to our templates.
But if have a field that I change from protected to private and it is accessed from another class, I can do a quick-fix for that where I can select "create getter and setter for X" (not exact text, but something like that). That works, but it does not use the code template, so then I have to manually change all the generated methods which is an unnecessary pain.
Is there some way I can make the quick-fix solution use the same templates that we normally use? I've search through preferences, but can't find anything that helps.
Powered by FUDForum
. Page generated in 0.02368 seconds