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: | Diferent comment types | ||
---|---|---|---|
Product: | php | Reporter: | khaoz <khaoz> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
khaoz
2008-08-07 01:44:25 UTC
Another example is the following code: <th colspan="7"> <?php echo __('filters') ?> <?php if($_COOKIE["help"]=="dcontexto"): ?> <a class="dcontexto"> <img src="/sfTcheGeneratorPlugin/images/help.png"/> <span> <?php echo __('This is the search form of') ?> filial, <?php echo __('for field information it locates the hand of mouse on the name of the field.') ?> </span> </a> <?php endif; ?> <?php if ($sf_flash->has('delete')): ?> <h4 class="form-error"> <?php echo __($sf_flash->get('delete')) ?> </h4> <?php endif; ?> </th> If i select and use Ctrl + Shift +C the result will bee: // <th colspan="7"> // <?php echo __('filters') ?> // <?php if($_COOKIE["help"]=="dcontexto"): ?> // <a class="dcontexto"> // <img src="/sfTcheGeneratorPlugin/images/help.png"/> // <span> // <?php echo __('This is the search form of') ?> filial, // <?php echo __('for field information it locates the hand of mouse on the name of the field.') ?> // </span> // </a> // <?php endif; ?> // <?php if ($sf_flash->has('delete')): ?> // <h4 class="form-error"> // <?php echo __($sf_flash->get('delete')) ?> // </h4> // <?php endif; ?> // </th> And nothing is really commented (at last syntax highlight does not change. The sugestion is: <!-- <th colspan="7"> <?php echo __('filters') ?> <?php if($_COOKIE["help"]=="dcontexto"): ?> <a class="dcontexto"> <img src="/sfTcheGeneratorPlugin/images/help.png"/> <span> <?php echo __('This is the search form of') ?> filial, <?php echo __('for field information it locates the hand of mouse on the name of the field.') ?> </span> </a> <?php endif; ?> <?php if ($sf_flash->has('delete')): ?> <h4 class="form-error"> <?php echo __($sf_flash->get('delete')) ?> </h4> <?php endif; ?> </th> --> All html code commented and all php code keep uncomented or receive a /* */ inside the <?php tags. Would be very useful. Should be implemented in 7.0, I reckon. reassigning to default owner batch reassigning Works properly for me in 7.3dev. |