-
Notifications
You must be signed in to change notification settings - Fork 109
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
Inconsistent pretty print #96
Comments
Agreed. As a maintainer, I would like to reach a consensus among contributors before settling on one rule. Could everyone state its preferred option ? |
In general, I use keyword upper case. But any setting will do since I use an exit to auto pretty print the code: |
While I would personally prefer lowercase, a large majority of the ABAP world uses keyword upper so I follow that trend. In general I would recommend keyword upper for OSS projects as that will be 'normal' to the majority. If a customer downloads something and makes a small edit for whatever local reasons and out of habit presses shift-f1 then it becomes difficult to pick up future deltas. Also see same discussion on ABAP2XLSX |
Thanks @mbtools for your exit. It's a game changer. I'll go for keyword uppercase for the repo (since the formatting is now automatic). |
I also prefer uppercase keywords, probably because I am used to it. |
Let's go for KEYWORD uppercase then.
Thanks, |
Some classes use all lower case while others are formatted with upper case keywords. It would be helpful for maintainers to settle on one setting (and then set abaplint rule keyword_case accordingly).
The text was updated successfully, but these errors were encountered: