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 169571 - Comment problem in a HTML part of a PHP file
Summary: Comment problem in a HTML part of a PHP file
Status: RESOLVED DUPLICATE of bug 167300
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 14:42 UTC by caioas
Modified: 2009-09-09 16:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caioas 2009-07-30 14:42:01 UTC
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>
Comment 1 Petr Jiricka 2009-09-09 16:29:53 UTC
Looks like a duplicate of issue 167300.

*** This issue has been marked as a duplicate of 167300 ***