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.
When typing text into a c file, the left paren is usually aligned with the 'if' statement on the line above. Currently, it remains indented. As a proposed fix, I changed CPPSettingsDefaults by adding the "case '{' " line. The snippet is enclosed. public static final Acceptor defaultIndentHotCharsAcceptor = new Acceptor() { public boolean accept(char ch) { switch (ch) { case '{': // FIX case '}': return true; } return false; } };
Obsolete milestone, please reevaluate
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team