abap-cleaner
abap-cleaner copied to clipboard
"Align METHODS declarations": Removal of spaces between `TYPE` and type name
Hi Jörg-Michael, rule "Align METHODS declarations" doesn't remove superfluous spaces between TYPE and the type name. Would it be possible to add this?
Example:
CLASS lcl_example DEFINITION CREATE PRIVATE.
PUBLIC SECTION.
METHODS call_example
IMPORTING
i_1 TYPE i
i_2 TYPE i.
ENDCLASS.
Expected:
CLASS lcl_example DEFINITION CREATE PRIVATE.
PUBLIC SECTION.
METHODS call_example
IMPORTING
i_1 TYPE i
i_2 TYPE i.
ENDCLASS.
(Or maybe this is already covered by another rule and I just missed it? 🙂)
Hi ConjuringCoffee,
very sorry for responding only now! Yes, you're right, such spaces are not yet removed by "Align METHODS declarations" – but they should!
Kind regards, Jörg-Michael