-
Notifications
You must be signed in to change notification settings - Fork 49
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
Leave empty lines after Function Module declaration #106
Comments
This also causes another issue; notice the line numbers change between "before activation" and "after activation" after the cleanup. The first line of code appears on 5th line, then it goes to 7th line when activated. |
I guess the reasoning behind this is that both ADT and SE37 users can refer to the same line of code by its line number. Though this does look terrible in ADT :( |
Thank you @jmgrassau , this is what I was expecting. |
Hi Mehmet, thanks again for this issue – this is now fixed in version 1.5.4 which was just released! Kind regards, |
In SE37 editor, if I leave an empty line after function module declaration, SE37 and Abap debugger shows it with 1 empty line, and ADT shows with 4 empty lines at the start.
I have configured the "Standardize empty lines within methods" rule to leave 1 empty line at method start. When I run the cleaner on this function module, it leaves only 1 line as supposed. But when the function is activated, the backend removes all the empty lines and it looks like there are no empty lines in SAP GUI (SE37 or debugger). When I edit the function in ADT, I see 3 empty lines.
After cleaning, before activation:
After activation:
I believe Cleaner should leave 4 empty lines after function module declarations (3+configured value), as only then we can see the 1 line in GUI.
The text was updated successfully, but these errors were encountered: