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.
While restarting NetBeans folds are reset to default values. There should be possibilities to remember this state.
This also happens when you close a file and reopen it, without restarting Netbeans in between.
*** This bug has been marked as a duplicate of bug 188573 ***
*** Bug 226145 has been marked as a duplicate of this bug. ***