This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 71794 - Settings for automatically inserted code position
Summary: Settings for automatically inserted code position
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 10:47 UTC by tprochazka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2006-01-24 10:47:25 UTC
NB now insert all new created method or fields at the end of file, but this is 
often doesn't the best. Great will be configuration interface for this.

For example. When I can implement any abstract method, I want put new methods 
to actual cursor position. Or when I add some property to JavaBean, I want put 
new set/get methods in alphabetical order with others JavaBean properties.

I suggest these options:
 - insert at the end of file
 - insert after last method (before fields)
 - insert to actual cursor position
 - maybe, insert in alphabetical order
Comment 1 Miloslav Metelka 2006-01-24 17:20:53 UTC
Reassigning to java module for evaluation.
BTW if you use the code completion for e.g. method overriding the code should go
to the caret position.
Comment 2 Jan Becicka 2007-09-19 16:12:42 UTC
We prefer insert to actual cursor position.