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.
Product Version = NetBeans IDE 8.1 Beta (Build 201508041349) Operating System = Windows 8.1 version 6.3 running on amd64 Java; VM; Vendor = 1.8.0_51 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Created attachment 155969 [details] IDE log
Matthew, are you talking about Java code folding or PHP code folding or some other language? Do you have some steps to reproduce? Or screenshot? Or video capturing the error? Or sample project exhibiting the malfunction? Closing as incomplete until you provide more information.
Of course, I'm referring to the usage in JavaScript - e.g. // <editor-fold defaultstate="collapsed" desc="A big portion of code"> It seems to work in a PHP file, having just tested it, but my JS files don't seem to know about them at all anymore. This is on the 8.1 beta (Build 201508041349). HTML5 x64 download I believe. I can't manually close/expand the comments nor is there any automatic handling.
I have the same issue: custom code folding does no longer work for JavaScript files. Product Version: NetBeans IDE Dev (Build 201509130002) Updates: Updates available Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Seems to happen on dev build 201506080001 as well.
Caused by change #8a80a55e0057 -- line comment's token category changed to 'line-comment' and is no longer recognized by the stock CustomFoldManger. If possible, please change the token category value to "comment-line" (the prefix "comment" is important). If not suitable, ping me so I'll add some additional configuration (i.e. multiple categories) so you can parametrize the fold manager according to your lexer constants.
The category name changed to comment-line. Thanks for catching this.
Integrated into 'main-silver', will be available in build *201509250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e9564fa2047a User: Petr Pisl <ppisl@netbeans.org> Log: #255097 - The <editor-fold> comment no longer seems to work