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 178734 - configurable indentation for the public/protected/private specifiers
Summary: configurable indentation for the public/protected/private specifiers
Status: STARTED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Alexander Simon
URL: http://google-styleguide.googlecode.c...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 07:36 UTC by _ rkubacki
Modified: 2009-12-17 00:12 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 _ rkubacki 2009-12-16 07:36:26 UTC
The Google code formatting guide is a bit quirky, with 2 space
indentation throughout but single space indentation for the
public/protected/private specifiers.  No IDE supports that out of the
box, but we are looking at updating Eclipse's formatter to do that,
and to do a good job reformatting function definitions/references
where arguments wrap over an 80-column boundary.  Eclipse really sucks
at that currently.


More details at http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Formatting
Comment 1 Alexander Simon 2009-12-16 10:25:34 UTC
added half indent for public/protected/private in change set:
http://hg.netbeans.org/cnd-main/rev/08591d0c827c
Comment 2 Quality Engineering 2009-12-17 00:12:34 UTC
Integrated into 'main-golden', will be available in build *200912170200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/08591d0c827c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing BZ#178734 configurable indentation for the public/protected/private specifiers