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.
Summary: | Code folding for if hides full block | ||
---|---|---|---|
Product: | editor | Reporter: | nbphpuser <nbphpuser> |
Component: | Code folding | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | christianperv, gborkowski, natit, raccah, reisner |
Priority: | P1 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
nbphpuser
2009-09-20 07:47:19 UTC
It is even more logic when it would work like collapsed functions: -- function myfunc($myparam){...} An if or foreach would be: -- if(myif==notmyif && otherif==true){...} -- foreach($arr as $key=>$val){...} When these statement are collapsed showing nothing the code gets unreadable. +1 for this idea (i voted), its also related to a similar problem with PHPDoc http://www.netbeans.org/issues/show_bug.cgi?id=169660 Any time something is folded it should behave like functions do, showing you as much of the first line as possible before the hidden fold so as to help you know what is hidded without opening it back up. batch reassigning *** Bug 142880 has been marked as a duplicate of this bug. *** *** Bug 78736 has been marked as a duplicate of this bug. *** *** Bug 104148 has been marked as a duplicate of this bug. *** *** Bug 171893 has been marked as a duplicate of this bug. *** Lets use this report to track all requests for full scope code folding, i.e. if/switch/while etc. If this is going to be the report about general code folding, this is an issue regarding all languages (C++ and Java at least), not just PHP. I changed the product and the version, since NetBeans 7.0 Beta 2 does not include general code folding either. Hopefully it is implemented soon! Netbeans is the only solution i know which doesn't implement full functionality for code folding, that's sad... Please implement this asap. *** Bug 167319 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 195925 *** I think that this bug is NOT RELATED to bugs 195925 and 167319 as a "DUPLICATE". IMHO this bug is about "view" of folded code, not about folding itself. |