Jörg-Michael Grassau
Jörg-Michael Grassau
Hi ConjuringCoffee, > The other possibility I mentioned is to have an option to generally remove spaces between the operators (IF, ELSEIF, AND, OR) and the condition itself To be...
Hi Pavel, thanks for opening this issue! This was indeed already proposed in #36, but it is nevertheless good to have a dedicated issue for possible discussions. As you can...
Hi ConjuringCoffee, yes, that might work – or if the target variable was just CLEARed in the previous line. Kind regards, Jörg-Michael
Hi Vlad, hm, yes, I do see your point. Will look into it, but this might be a bit tricky! In general, "Align logical expressions" only aligns several 'branches' of...
Hi Vlad, thanks a lot! Happy to say that I don't have to work on legacy code that much, but yes, there is a lot of it out there, and...
Hi Vlad, ah, thanks for the example! Actually this is working as expected, because "_Max_. empty lines" really means that the rule only _removes_ superfluous empty lines, but never adds...
Hi Vlad, ah, now I get it! Okay, I think in this case actually the rule "Align FORM declarations" is responsible for this, because of this option:  If you...
Hi Vlad, those rules were added in with release 1.10.0 on 1.11.2023, see [Release Notes](https://github.com/SAP/abap-cleaner/blob/main/docs/release-notes.md) – try the Eclipse menu "Help / Check for Updates"! On the other hand, if...
Hi Vlad, okay, then we're back to explainable behavior! I think if you now uncheck the last option in "Align FORM declarations", "Remove empty line after one-line FORM declaration", you'll...
Hi Vlad and ConjuringCoffee, interesting finding! I think this could be a new option to the "Convert upper and lower case" rule (but maybe default off, because this would indeed...