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.
There is no code folding for javadoc comments. Build 20061101-0917, JDK1.5.0_09, WindowsXP.
Nor for the initial comment of the file, nor for imports. Note that the Options dialog still lists "Javadoc Comments", "Initial Comment", and "Imports" under Editor > General > Code Folding > Collapse by Default, even though checking these boxes no longer has any effect. Regression in Retouche -> P2. Confirmed in 20061121, JDK 6, Linux.
CF for imports, initial comment does work now, so do CF options inside Options Dialog. However, there are still some drawbacks when compared to 5.5: 1) no folding for classes javadoc comments on top level of a file. However, does work for inner classes. 2) no folding for method javadoc comments when there is an editor fold explicitely defined (ie. 'Generated code' for a form file) 3) no folding for initializers and their comments, both static and normal 4) folding for javadoc comments does work for methods, but not for fields --- 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
Should be fixed: Checking in JavaElementFoldManager.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/fold/JavaElementFoldManager.java,v <-- JavaElementFoldManager.java new revision: 1.4; previous revision: 1.3 done
Verified.
*** Issue 90336 has been marked as a duplicate of this issue. ***