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.
NetBeans IDE Dev (Build 20061120-0828) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 The code folding can be switch off in options dialog, but when it is enabled again it will not be displayed in editor
I can reproduce this. Reopening of file does help. Strange it works for editor folds (like ie. Generated code inside form file), but not for the other folds. -- NetBeans IDE Dev (Build 061129) 1.6.0-rc; Java HotSpot(TM) Server VM 1.6.0-rc-b104 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8
First, this seems to affect java files only. Well, the only other file type I tried was an ant's build script, so I am not 100% sure. Anyway, for java files if you turn the code folding on again the sidebar is added correctly, but it shows no folds. The folds show up as soon as you do something that makes the javamodel (?) to recompute - eg. edit the file, switch to another file in the editor and then back or reopen the file of course.
I needed to force reparse to make this work - P4.
Unlikely to be fixed in foreseeable future.
NetBeans.org Migration: changing resolution from LATER to WONTFIX