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.
Build071018. Steps to reproduce: - create php file; <html> <body> <?php /** * PHP Template. */ ?> </body> </html> - select <body> tag. Close </body> tag is not highlighted.
Bug is invalid. In described case "<body>" and "</body>" could be unpaired tags. Only after analyze ( or execution ) of php part we can know result output. So user can put paired "</body>" tag inside PHP block ( it can be outed via echo "</body>" ). So there is no possibility to know about pairing tags that separated by PHP blocks. Only unseparated tags should be highlighted.
If we can find pairs in HTML we should highlight them.
Please provide exact meaning of your sentence : "If we can find pairs in HTML we should highlight them." Who can find pairs ? Could you please point to me the pair for "<a>" tag in the following two examples: First : <a> <?php if ( $a ) { echo "</a>"; } ?> <br> </a> Second: <a> <?php echo "link1"; echo "</a>"; echo "<a>link2</a>"; ?> </a>
I'm closing this issue as fixed, because now the tag matching works in the different way. On the other hand now there is different problem. See issue #131275