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.
If you have "Indent Top Level Class Members" _unchecked_ in Options -> Formatting (Language Java, Category Tabs and Indents), when hitting return in the following code (when the cursor is positioned at the caret): ----- public class TestClass { ^ public void someMethod() { } } ----- the cursor should not indent. It does not indent after the first method definition.
The indentation after Enter key does not check the particular setting yet.
See issue #150228 for other examples of ignored options.
*** Issue 150228 has been marked as a duplicate of this issue. ***
*** This bug has been marked as a duplicate of bug 183666 ***