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 246008 - "Introduce Field" does not apply to member sort order's "insertation point" setting
Summary: "Introduce Field" does not apply to member sort order's "insertation point" s...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 14:11 UTC by markiewb
Modified: 2014-08-10 01:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2014-07-25 14:11:19 UTC
I configured a member sort order at Tools|Options|Editor|Formatting|Java|Ordering and set the "Insertation Point" to "Ordered In Category". When I use the hint "introduce field" the new field is placed below the method where I extracted the field from.

ACTUAL: code format after "introduce field" does not apply to the setting "insertation point".

EXPECTED: code format after "introduce field" applies to the setting "insertation point"/member sort order

Workaround: Call "Sort Members" after applying the hint
Comment 1 Svata Dedic 2014-08-08 05:47:30 UTC
Fixed by jet-main#2a38dd202c4d
Comment 2 Quality Engineering 2014-08-10 01:50:55 UTC
Integrated into 'main-silver', will be available in build *201408100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2a38dd202c4d
User: Svata Dedic <sdedic@netbeans.org>
Log: #246008: member ordering settings applied when inserting field/method