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.
Hi! IMHO the flag defaultstate="collapsed" for the editor-fold is not very usefull. The default should be "collapsed" not expanded. Or, the better solution is to customize the option in Tools -> Options -> Editor Settings -> Java Editor -> Code Folding. So I need only: SwingUtilities.invokeLater (new Runnable() { // <editor-fold> public void run() { // Many code.... } }); // </editor-fold> to collaps the code by default. best regards, josh.
I agree, it makes more sense to have the fold collapsed than expanded when not mentioned explicitly.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Reviewing status after bulk issue cleanup