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.
Concerning NB IDE 6.0 M10 Steps: - New --> Java Class - Collapse all Javadoc - Mark first line (the folded code) in the source code - Hit "Del"-key Error: - The pattern for the Javadoc doesn't disappear. - Code Fold processing doesn't work any more.
I'm not able to reproduce your issue. Could you please try a newer build, clean userdir and attach you messages.log file? Thanks.
What part of userdir should be deleted? I don't want to delete all my settings. Sorry, no time and disk-space for installing any dev-build, I'll wait for the alpha, or beta release. Correction: - The pattern for the Javadoc code fold doesn't disappear.
Just use another empty userdir by passing --userdir /tmp/whatever from command line. I also can't reproduce this in a dev build. The folded text is deleted just fine. Maybe something that has already been fixed since M10.
Created attachment 46921 [details] Deleted Javadoc as code fold
I have deleted --userdir\.netbeans\6.0m10\var\cache\index\0.3 and tried it once more. Result see attachment. Product Version: NetBeans IDE 6.0 M10 (build 200706281431) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb) Userdir: C:\Dokumente und Einstellungen\ich\.netbeans\6.0m10
Well, I'm not sure what effect deleting .netbeans\6.0m10\var\cache\index\0.3 had, but probably not much on the editor settings that reside under .netbeans\6.0m10\config\Editors. As I suggested, try passing from the command line --userdir c:\temp\whatever or some other empty or non-existent folder. The IDE will create and initialize a new userdir. Anyway, I just tried with M10 and it seems to be working fine, so I'm not sure what is wrong. Could you please try to analyze it a bit further? Or perhaps zip-up your userdir and attach it here or send it to my nb.org email. Thanks.
In M10 I observed an additional curios behaviour: - The first line should be marked by mouse, not by arrow keys to reproduce the error. - If I hit the "Del"-key twice, the Javadoc pattern disappeared correctly, but also the following line, and after this the code folds work normal. In Beta 2 the error seems to be resolved.
I cannot reproduce it in current dev build as well. Closing as WFM. Feel free to reopen when it occur again.
BTW, the user dir has around 80 MByte. That's the reason, I didn't send it. It seems to work in RC2 even after using a copy of M10's user dir.