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 131688 - Need to possibility to save indent before constructor initialization list
Summary: Need to possibility to save indent before constructor initialization list
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 08:52 UTC by soldatov
Modified: 2009-11-12 06:06 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 soldatov 2008-04-01 08:52:37 UTC
Often people write constructor initialization list with indent. For example (indent before ': reason(why)'):

class failure
{
public:

  failure(const std::string & why)
    : reason(why)
  {
  }

Our formatter deletes this indent. Need to possibility to save this indent if user want to save it.
Comment 1 Quality Engineering 2008-07-31 15:45:09 UTC
Integrated into 'main-golden', available in build *200807311401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/95bca774158e
User: Radek Matous <rmatous@netbeans.org>
Log: #131688 [cc] issues related to class name case-sensitivity
Comment 2 Alexander Simon 2008-11-18 19:53:47 UTC
partly fixed:
- added formatter property "Constructor Continuation Initializer List Indent"
Indenter should be fixed too.