-
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: Option to replace =,<,>,<=,>=,<> by EQ, LT, GT, LE, GE, NE #273
Comments
Hi Marius, hm, yes, personally, I don't find So it shouldn't be too difficult to add an option to enable either direction (and rename the rule "Prefer =, <>, <= etc. to EQ, NE, LE etc." accordingly). I guess you'd just want to align this setting with your team to avoid edit wars… Kind regards, |
Hi @jmgrassau,
Yes, the '=' instead of '==' leads IMHO to some disadvantages (s. SAP/styleguides#282 (comment)) and that's why I prefer the character-based comparison - it's more consistent from my point of view.
Great to hear that. :)
Yes, but I think that's the case with some other settings, too. Also we use the folders option to align the settings with eachother - very great feature! :) I love the work you've already done so far with abap cleaner - keep it up! :) |
Many thanks! :) |
Hi Marius, thanks again for this idea – the new option is now included in version 1.16.0, which was just released! Kind regards, |
Currently there’s a rule replacing
EQ, LT, GT, LE, GE, NE
with=,<,>,<=,>=,<>
. I'd like to have the reversed option, as I prefer the character-based comparison.I know, a widely discussed topic, but SAP docu and clean abap just enforce the consistent use not the usage of either version.
The text was updated successfully, but these errors were encountered: