SAP / abap-cleaner

ABAP cleaner applies 95+ cleanup rules to ABAP code at a single keystroke
Apache License 2.0
457 stars 48 forks source link

Align exceptions of method definition #365

Open goreraks opened 1 month ago

goreraks commented 1 month ago

Current Behaviour Here is the sample source code after applying AbapCleaner, METHODS my_test_method FOR TESTING RAISING cx_exception_1 cx_exception_2 cx_exception_3 cx_exception_4 cx_exception_5.

Expectation When we use quick assist(Ctrl+1) for "Add raising declarations", the source code is formatted as below. I think the same must be applied instead of keeping them in a line.

    METHODS my_test_method FOR TESTING
      RAISING
        cx_exception_1 
        cx_exception_2 
        cx_exception_3 
        cx_exception_4 
        cx_exception_5.
jmgrassau commented 1 month ago

Hi Rakshith,

good point, I think we should add options for this, so you could choose

Kind regards, Jörg-Michael