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.
Is a feature request. When editing an html / php editor does not close automatically the PHP structures if i write ?> and press Enter. examples: In code, write: <select> <?php foreach($arr as $value): [[HIT ENTER]] endforeach / / the editor insert endforeach automatically. However, when writing code like this (which is a common practice among developers): <select> //i close the php tag ?> and after i hit ENTER <?php foreach($arr as $value): ?> [[HIT ENTER]] The editor does not automatically insert the tag <php endforeach;?> corresponding. The same is valid for if(): or while(): or do/while or for():