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.
When I try to comment a code using the shortcut Ctrl + Shift + C in the HTML of a PHP file, the Netbeans make a comment using the PHP-like comment, not HTML-like. For example: 1. I create a empty PHP file called by default "EmptyPHP.php"; 2. After the code window open i wrote this code: <?php ?> <html> <head> <title>Test</title> </head> <body> <p>Test</p> </body> </html> 3. When I try to comment the "<p>Test</p>" using the shortcut the result is: <?php ?> <html> <head> <title>Test</title> </head> <body> // <p>Test</p> <-- Instead of "<!--<p>Test</p>-->". </body> </html>
Looks like a duplicate of issue 167300. *** This issue has been marked as a duplicate of 167300 ***