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.

Bug 222493

Summary: Multilevel code folding (if, for, do, while, switch)
Product: java Reporter: jkuliak
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: dvader666, faramir2, imadjamil, jbehre1973, lucapino, negora, nikarh, Roberto123567
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description jkuliak 2012-11-20 20:50:42 UTC
In Java code it is not currently possible to apply code folding on if, for, do, while, switch blocks.

This feature was requested before in bug 195925, but it was unfortunately marked as a duplicate of bug 186731, which only added this functionality to the PHP editor, but not to the Java editor.
Comment 1 Jiri Prox 2013-04-12 06:38:21 UTC
*** Bug 228413 has been marked as a duplicate of this bug. ***
Comment 2 dvader666 2016-04-27 19:26:31 UTC
Any idea when multi-level code folding would be ready for release? In what NB version or as a patch to existing v8.1?
Comment 3 FibreFoX 2016-10-06 18:14:20 UTC
Any update on this one? It really gets nasty when comparing IDEs and simple code-folding does not work for Netbeans when developing Java ...
Comment 4 imadjamil 2017-08-27 15:45:44 UTC
When full code folding will be available in Netbeans for Java code ??
Comment 5 ssatguru 2019-03-20 15:52:23 UTC
Netbeans has lots of good , some bad and few ugly parts.
This is one of the ugly part.
Given that this has been pending for over a decade now, I am assuming there is some flaw in the Netbeans architect which makes this hard to implement.