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 232141 - Wrong identation after executing hint "Organize members"
Summary: Wrong identation after executing hint "Organize members"
Status: RESOLVED DUPLICATE of bug 232092
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 12:31 UTC by ecerichter
Modified: 2013-07-02 12:37 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot of the code after applying organize members. (30.51 KB, image/png)
2013-07-02 12:31 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-07-02 12:31:12 UTC
Created attachment 136596 [details]
Screenshot of the code after applying organize members.

NB Version: DEV201307012300.

After organize members, the code identation is wrong. Developer expects that the identation defined in formatting rules is ketp.

For instance, I use 2 spaces for identation, and after organize members, code has 4 spaces. Original code had 2 spaces already.

See attached screenshot.

It is not top priority, and Format Code is a workaround.
Comment 1 Jan Lahoda 2013-07-02 12:37:44 UTC
Almost surely the same root cause as bug #232092.

*** This bug has been marked as a duplicate of bug 232092 ***