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 130923 - Need preserve spaces after reformat
Summary: Need preserve spaces after reformat
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks: 133909 154590
  Show dependency tree
 
Reported: 2008-03-24 16:53 UTC by soldatov
Modified: 2010-10-29 08:42 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 soldatov 2008-03-24 16:53:34 UTC
In MySQL users write:

int x=          27;
int new_var=    18;
or
foo->member=      bar->member;
foo->name=        bar->name;
foo->name_length= bar->name_length;

Can we preserve spaces in code after reformat?
Comment 1 Alexander Simon 2010-02-26 09:13:11 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/fe609390a100

Added formatting option:
- Keep Extra Spaces
Comment 2 Quality Engineering 2010-02-26 23:04:02 UTC
Integrated into 'main-golden', will be available in build *201002270200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fe609390a100
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed BZ#130923 Need preserve spaces after reformat
Comment 3 soldatov 2010-10-29 08:42:23 UTC
verified in 201010290000 build