-
Notifications
You must be signed in to change notification settings - Fork 53
Align logical expressions: WHERE condition of FOR not aligned? #29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi ConjuringCoffee, actually this would be a case for the "Align logical expressions" rule which indeed does not yet consider WHERE clauses in constructor expressions! Kind regards, |
Hi ConjuringCoffee, there were actually even three different issues to this, but "Align logical expressions" now behaves as expected: However, IMHO, "WHERE" is not in a good place here: Since it starts the WHERE clause, it should be next to the logical expression, not somewhere at the end of the line above it. Therefore, the rule "Move AND/OR etc. from line end to next line start" was enhanced with a new option: which results in: If you put these effects together, you get: which I think makes this expression even more readable :-) Kind regards, |
Hi ConjuringCoffee, hope release 1.4.0 does the trick :-) Kind regards, |
Above is an example in which the line
AND auart = 'A' )
is not automatically aligned with the rest. It is only aligned if the previous line( vbeln = '1'
would also be aligned simultaneously. Is this a bug or is the behavior intended?The text was updated successfully, but these errors were encountered: