SAP / abap-cleaner

ABAP cleaner applies 95+ cleanup rules to ABAP code at a single keystroke
Apache License 2.0
423 stars 47 forks source link

'Align logical expression' does not recognize WHERE statement #79

Closed FriedrGo closed 1 year ago

FriedrGo commented 1 year ago

Dear All,

we are in the middle of cleaning up for a S/4 transition. Therefore we use quickfixes to amend some of the ATC findings. Afterwards we try to use ABAP-cleaner to make it nice. The following statement (generated by a quickfix) is not picked up by the 'align logical expression' rule:

I would have expected that line breaks are put into the code.

When breaking it down manually it does not move the 'AND' to the beginning of the line (so rule 'Move AND/ OR...' is ignored.

Can you help?

Best regards, FriedGo

ConjuringCoffee commented 1 year ago

SQL statements are currently not covered by the ABAP Cleaner, see #6. 😉

jmgrassau commented 1 year ago

Hi FriedrGo,

sorry to disappoint you for the moment – but as mentioned in #6, this is by no means out of scope for ABAP cleaner, but rather a big point on our wish list …

Kind regards, Jörg-Michael