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
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...
Depends on:
Reported: 2009-12-16 07:36 UTC by _ rkubacki
Modified: 2009-12-17 00:12 UTC (History)
0 users

See Also:
Exception Reporter:


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
Comment 1 Alexander Simon 2009-12-16 10:25:34 UTC
added half indent for public/protected/private in change set:
Comment 2 Quality Engineering 2009-12-17 00:12:34 UTC
Integrated into 'main-golden', will be available in build *200912170200* on (upload may still be in progress)
User: Alexander Simon <>
Log: fixing BZ#178734 configurable indentation for the public/protected/private specifiers