[ https://issues.apache.org/jira/browse/NETBEANS-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052341#comment-17052341 ]
Jayce commented on NETBEANS-3956: --------------------------------- Attached a screen of an example in the 11.2 version (which is correct) > 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 > Priority: Major > Attachments: Correct.png > > > 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: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists