java - Eclipse auto-generates wrong type of JavaDoc template for getters and setters -
i have configured customized template getter , setter javadocs in eclipse's code templates. however, it's used when use "generate getters , setters" dialog (which creates methods.
the template not used when creating javadoc comments existing getters , setters, either typing /**lf
or right clicking method , choosing source > generate element comment. when that, eclipse seems using generic method template, not specific getter or setter template.
is there way change this? if matters, i'm using os x 10.9.2 eclipse kepler service release 2 (build id 20140224-0627).
under preferences => java => code style => code templates, there's getter body
, setter body
, can edited, clicking edit
on upper right of fields outline view. hope helps...
Comments
Post a Comment