Jörg-Michael Grassau

Results 139 comments of Jörg-Michael Grassau

Hi DoublG, thanks for reporting this issue! You are right here – but I am afraid analyzing the content of literals, or strings that are built and then used _dynamically_...

Hi Björn, thanks for the idea – however, I'm afraid this is out of scope for ABAP cleaner, at least for the foreseeable future, because the tool was designed with...

Hi @BjoernTheDev and @kaisicker, as you maybe already noted in the [Release Notes](https://github.com/SAP/abap-cleaner/blob/main/docs/release-notes.md) for version 1.19.1, ABAP cleaner now finally supports formatting of CDS views (i.e. Data Definition Language)! Therefore,...

Hi Dirk, so far, I think this is no defect (however, the spaces in your example code are gone, so I could just try the cleanup result on my computer):...

Hi Andreas, I don't think this is a defect: If technically possible, the cleanup rule "Rearrange local declarations" uses the order in which variables are used inside the method implementation....

P.S.: Sorry, I forgot the screenshot of third_method: ![Image](https://github.com/user-attachments/assets/1c3959ef-d2ad-46f9-aa4a-1c1b311b4e02) And here's the code for further experiments: ```ABAP METHOD any_method. DATA ls_import_test LIKE LINE OF it_import_test. DATA lv_some_other_value TYPE i. rs_result...

Hi Matthew, this is intentional – ABAP cleaner would be fine without colons as well … ```ABAP TYPES BEGIN OF ty_test. INCLUDE TYPE mara. TYPES a_field TYPE abap_bool. TYPES END...

Hi Jaime, thanks a lot for reporting this bug! That's odd, I thought I had covered this syntax… but it seems that ABAP cleaner wrongly expects the source name already...

Hi Jaime, actually, apart from fixing this bug, it's quite a nice idea to align those "to" keywords if the cardinality is textual, so I added this as an option...

Hi Jaime, as of now, if there is at least one association with textual cardinality, all the "to" keywords get aligned, even those with numeric cardinality: ![Image](https://github.com/user-attachments/assets/14b04db5-7e5e-40c1-a37f-c48fd98b1a8a) Kind regards, Jörg-Michael