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 188971 - Code folding in "if's", "for's" block "{}" etc.
Summary: Code folding in "if's", "for's" block "{}" etc.
Status: RESOLVED DUPLICATE of bug 186731
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal with 1 vote (vote)
Assignee: rmatous
URL: http://opti-eoa.com
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 22:24 UTC by zamaliphe
Modified: 2011-11-16 16:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zamaliphe 2010-07-26 22:24:45 UTC
Code folding "if's", "for's", foreach's, etc, is the only thing that Netbeans lacks of (and most text-editors/IDE, for that matter). Yes, you can use custom-folds, but that's not pratical at all.
If done right, you could code fold a "if" with html code inside of if.

Example:

<?php if (bla) { ?>
<table>...</table>
<? } ?>

( or with "if (bla):" and "endif;" )
Comment 1 AIML_Engr 2010-08-16 14:02:12 UTC
This issue has been submitted several times. Duplicate is as marked.

*** This bug has been marked as a duplicate of bug 186731 ***