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 120018 - 'Format' command should remove needless spaces.
Summary: 'Format' command should remove needless spaces.
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 12:43 UTC by dnikitin
Modified: 2008-03-14 12:38 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 dnikitin 2007-10-25 12:43:23 UTC
'Format' command should remove needles spaces.

For example, in the following code

int     function(    int   a   ){
    return     0    ;
}

Eclipse formats this code  to 

int function(int a){
   return 0;
}

NetBeans do nothing.
Comment 1 Jesse Grodnik 2007-10-25 16:59:37 UTC
This is more a "defect" than and "enhancement"
Comment 2 Alexander Simon 2008-03-13 13:48:23 UTC
fixed
Comment 3 dnikitin 2008-03-14 12:38:59 UTC
Verified in NetBeans IDE Dev (Build 200803140008)