You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that the default cleanup range "Current class" does not work the way I expected it to. Here's a global class as an example:
CLASSycl_cleaner_example DEFINITION PUBLIC FINAL CREATE PUBLIC .
PUBLIC SECTION.
methods example.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASSycl_cleaner_example IMPLEMENTATION.
METHODexample.
ENDMETHOD.
ENDCLASS.
If I place my cursor inside the method implementation, then I would have expected the cleanup range to target the entire class. However, it only applies to the method:
Is this a bug or am I just misinterpreting the option?
The text was updated successfully, but these errors were encountered:
ConjuringCoffee
changed the title
Default cleanup range does not work (as expected?)
Default cleanup range 'Current class' does not work (as expected?)
Jun 14, 2023
yes, you're right – but it's not really a bug: In includes, you do not always have the class DEFINITION directly next to the IMPLEMENTATION (but rather, three different classes may be defined before then the three implementations follow); but the cleanup range currently is a single range of lines only.
Hi Jörg-Michael,
I have found that the default cleanup range "Current class" does not work the way I expected it to. Here's a global class as an example:
If I place my cursor inside the method implementation, then I would have expected the cleanup range to target the entire class. However, it only applies to the method:
Is this a bug or am I just misinterpreting the option?
The text was updated successfully, but these errors were encountered: