-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Change obsolete relational operators to valid operators (like ><
to <>
)
#283
Comments
Relevant SAP help section: Obsolete Relational Operators So the obsolete operators are: |
><
to <>
><
to <>
)
Hi ConjuringCoffee, I feel privileged to never have encountered those in real life… Good point, though. I think we could combine this idea with #273 and the existing rule "Prefer =, <>, <= etc. to EQ, NE, LE etc." and then rename the rule to something like "Use consistent set of comparison operators". This would align well with the recommendation "that only one or the other set of operators is used within the context of a program" from rel_exp - Binary Comparison Operators and the Use consistent spelling guideline. Kind regards, |
Hi ConjuringCoffee, with the next release, the renamed cleanup rule "Use consistent set of comparison operators" (previously, "Prefer =, <>, <= etc. to EQ, NE, LE etc.", cp. #273) will also include an option to replace obsolete comparison operators with the preferred variant (symbolic or textual): Kind regards, |
Thank you! |
Hi ConjuringCoffee, thanks again for the idea – this enhancement is now included in version 1.16.0, which was just released! Kind regards, |
Hi Jörg-Michael, here's a small feature request: I'd like to automatically change
><
to<>
. Very low priority of course, but probably easy to implement. Thanks! :)The text was updated successfully, but these errors were encountered: