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 195925

Summary: Multilevel code folding (if, for, do, while, switch)
Product: php Reporter: jcrada <jcrada>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nbphpuser
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 142074    

Description jcrada 2011-02-24 08:23:23 UTC
Please, implement multilevel code folding to enable foldings of statements as if, for, while, switch, and others in all languages (or at least C++ and Java)
Comment 1 jcrada 2011-02-24 08:23:45 UTC
*** Bug 172617 has been marked as a duplicate of this bug. ***
Comment 2 jkuliak 2011-08-02 19:47:32 UTC
Perhaps this should be merged into Bug 186731 ? Also that bug should be for all languages, not just php.
Comment 3 faramir2 2011-10-26 10:20:24 UTC
+1.

It would be nice to have if-else,try-catch-finally,switch,case and others folding possibilities. Every "{ (...) }" could be folded.
What is folded could be changed in options.
Comment 4 Aweb 2011-12-01 09:39:56 UTC
This feature would be very useful for me, aprticularly in PHP where I use enormous switch() statements.
Comment 5 Svata Dedic 2012-05-28 14:40:57 UTC
Moving to PHP. The folding infrastructure already supports multiple levels, actual fold providers are tied to language (PHP in this case).
Comment 6 Ondrej Brejla 2012-09-04 15:39:16 UTC

*** This bug has been marked as a duplicate of bug 186731 ***
Comment 7 ricktw 2014-06-06 06:38:18 UTC
multilevel code folding for Java has been moved to bug 222493