fidley / ABAPQuickFix

ABAP Quick Fix
https://abapblog.com
MIT License
42 stars 9 forks source link

Bug for quick fixing data statements #62

Closed fsc-mrn closed 4 months ago

fsc-mrn commented 4 months ago

When using quick fix to combine/split data statements for variables that are referencing a type defined in a class(for example a type of a gateway entity) - the combine data statements suggestion is missing:

    DATA ls_entityset1 TYPE zcl_testapp_mpc=>ts_entity1.
    DATA ls_entityset2 TYPE zcl_testapp_mpc=>ts_entity1.
    DATA lv_matnr1     TYPE matnr.
    DATA lv_matnr2     TYPE matnr.
    DATA lv_matnr3     TYPE matnr.

If i just select the last 3 statements it works fine - i assume its due to a missing escaping of the special characters in this case?

Thanks in advance for checking!

Greetings Marian

fidley commented 4 months ago

Is solved. The issue appeared during combine DATA statement QF only. On split it was working correctly. You can update your plugin :)

fidley commented 4 months ago

Thanks for the info @fsc-mrn it's been there since a while and no one noticed :-) Maybe it was not used ;)

fsc-mrn commented 4 months ago

Works perfectly! Thanks for the quick fix ;)

fidley commented 4 months ago

You're welcome