While generating getters and setters the position of the generated getters and setters are determined by the position of the text cursor.
While that is perfectly acceptable most of the time, it's a bit anoying when you have a long way down for the position you want to place the getter/setter for the property/field you've just added.
Now what I propose is something closer to how Eclipse does it in that you can select where to place the getter/setter. Like this:
- Current position
- After/Before <list other getters/setters>
- At the bottom
The default behaviour would be kept the same, but one has more options.
There might be shortcuts I'm not aware of that one can use to facilitate the same behaviour in a manner of speaking.
Sorry if this is posted under the wrong category and/or other meta data is wrong. :-)
Fixed in jet-main.
Order of the generated class members should be customizable via a new panel added to 'Tools -> Options -> Editor -> Formatting -> Java'.
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Dusan Balek <firstname.lastname@example.org>
Log: Issues #200938, #201601: Customizable order of generated class members - fixed.