abap-cleaner
abap-cleaner copied to clipboard
Beginning comments with " instead of * does not work in chained data statements
Hi,
as the title says, comments in chained data statements are not recognized correctly (rule "unchain into multiple statements" is unchecked):
* Data declaration
DATA gv_int TYPE I.
* Comment between separated DATA statements
DATA gv_res2 TYPE decfloat16.
DATA: gv_result TYPE p length 8 DECIMALS 4,
* Comment in chained DATA statement
gv_test TYPE abap_bool.
ABAP Cleaner result:
" Data declaration
DATA gv_int TYPE i.
" Comment between separated DATA statements
DATA gv_res2 TYPE decfloat16.
DATA: gv_result TYPE p LENGTH 8 DECIMALS 4,
* Comment in chained DATA statement
gv_test TYPE abap_bool.
Hi,
that's a good point, thanks! Will check whether this can be enhanced accordingly.
Kind regards, Jörg-Michael