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 the cursor is on a PHP snippet enclosed in '<?' '?>', like this: <? echo 'Hello world' ?> When the shortcut is hit, it will produce '//' BEFORE the snippet, i.e. resulting in something like this: //<? echo 'Hello world' ?> When hit again will add more '//': ////<? echo 'Hello world' ?>. If the cursor is not "touching" the snippet (the pipe '|' stands for the cursor position): <div>HTML Cont|ent</div> <? echo 'Some PHP code' ?> The shortcut when hit will do nothing at all. Product Version = NetBeans IDE 7.0 (Build 201104080000) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_22 Runtime = Java HotSpot(TM) Client VM 17.1-b03
PHP issue, it works fine in html.
Fixed in web-main http://hg.netbeans.org/web-main/rev/0dc1602bf8bb
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/0dc1602bf8bb User: Petr Pisl <ppisl@netbeans.org> Log: #198269 - Comment out shortcut (CTRL + '/') doesn't work in certain cases on PHP/HTML code