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 270578

Summary: defaultstate="collapsed" is ignored
Product: editor Reporter: redjaguar
Component: Code foldingAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description redjaguar 2017-05-05 23:13:42 UTC
The cold folding of initComponents() with a defaultstate="collapsed" is completely ignored. 

Every time I make a change in Matisse to the GUI adding events, it unfolds.. I have to keep refolding it.

This would not be a problem if the event methods were added *before* the initComponents() method, or allow reordering of the generated methods.. since you can't just copy/paste the method to move it in the code, this large block of code between events, and helper methods is annoying to scroll through every time.