You need to log in before you can comment on or make changes to this bug.
Pressing ctrl+/ (comment line) in php tag in .html file makes wrong comment symbol. Example code: <div> <?php echo "test"; ?> </div> Pressing ctrl+/ on the echo line results in: <div> <?php <!--echo $response->body;-->?> </div> should be: //echo $response->body; The same happens in .php file, when commenting html tags: <?php echo "test"; ?> <br /> Results in: //<br /> Should be: <!--<br />--> As we comment code very frequently, I think this issue needs higher priority. IDE about box info: Product Version: NetBeans IDE Dev (Build 200906081401) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb)
mfukala and I agreed that handling the "comment line" action for embedded languages should be supported by CSL - reassigning
The current implemenetation of the toggle comment is context (language on/in caret position/selection) unsensitive, the original goal was to have at least some toggle comment support for block comment only languages. Making it language sensitive is a trivial task, but solving all the corner cases (c/u of more languages together) not.
*** Issue 169571 has been marked as a duplicate of this issue. ***
*** Issue 175147 has been marked as a duplicate of this issue. ***
*** Issue 125925 has been marked as a duplicate of this issue. ***