Closed lukas-mb closed 11 months ago
Perfect. I will do review later on and I'll approve when I'll test it successful (and deploy to update site for others)!
Thanks!
I see the ordering is working nice, but I have one remark -> it does not work if you don't have the declaration under one DATA statement Here it works
Here not
Are you able to make it work also with selected code if all concurrent statements are of the same type (ex. DATA)?
Ahh... totally forgotten this case. Will implement this asap :)
Take your time 😁
Any thoughts on how to sort declarations like this?
I'm not sure what the best logic would be... maybe activate the sorting just for single statements, so it is considering the single declarations until there are multiple declarations within one DATA. Here for example it would sort just lv_maktx
, lt_lips
and lv_objky
, then sort the next 'block' ls_lips
and go_salv_table
and so on.
Would you also consider inline declarations?
Normally inline declaration are done in different place than top of method, program, so I would not focus on them. For the rest I see two possibilities:
I guess preferable would be the 1st version, but maybe it is good to give developer the right to decide? New parameter or two quick fixes, one for each option?
I agree with inline declarations - will store them below the other declarations if a user would use them in this area... you never know.
And I also like the idea of an additional quick fix👍🏼
Hi @lukas-mb any news here, or should I publish as it is now?
Hi @fidley, still working on this.. Difficult to say when it's finished (or when I get some time for it). I would estimate within the next two weeks. So let's wait :)
Perfect ;)
58 (order in preferences)