Jayce created NETBEANS-3956:
-------------------------------

             Summary: Code formatting fails since 11.3
                 Key: NETBEANS-3956
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3956
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.3
         Environment: linuxmint
            Reporter: Jayce


hi,

one of the strongest feature of Netbeans is code formatting.

But since latest release it screw up the code.

I'm maintaining old ugly spaghetti code, and it's a must have.

If you have, for example, a mixed language page, pressing Formatting shortcut 
wil add spce in front of code endlessly.

It was working correctly in previous vers.

Example, some ugly html/php page:

~<?php~

~foreeach($anArray as $item) {~

~?>~

~<div>~

~<?= echo $item ?>~

~</div>~

~<?php~

~}~

~?>~

 

Each time you ru formatting, the html code (div) will move to the right.

The php code does not move.

I hope it's clear... Thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to