codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Sort selected methods by alphabet.

Open DasOhmoff opened this issue 4 years ago • 5 comments

Hello, thanks for your support and this plugin.

Sometimes one wants to sort some functions in his code. For example in my test classes I would like to sort only my test functions alphabetically, it would be great to have such a feature.

My idea would be to put it into the CodeMaid Spade: image

DasOhmoff avatar Aug 31 '21 10:08 DasOhmoff

Thanks for the suggestion! That makes sense and I like the idea of using Spade to select which items since it has that capability already.

It could be confusing what will happen if you select items that are not next to each other in the list. Would they all move up in the file to the first member?

codecadwallader avatar Sep 03 '21 12:09 codecadwallader

It could be confusing what will happen if you select items that are not next to each other in the list. Would they all move up in the file to the first member?

Yeah, that seems to make sense. Alternatively this sort alphabetically context menu could also not show up if there is a gab between the methods, as I don't think people would use it like that.

DasOhmoff avatar Sep 07 '21 06:09 DasOhmoff

Sorry, closed accidentally. Reopened.

DasOhmoff avatar Sep 07 '21 06:09 DasOhmoff

Hey, is there any progress on this?

DasOhmoff avatar Nov 30 '21 16:11 DasOhmoff

No, it does not look like it.

codecadwallader avatar Dec 03 '21 13:12 codecadwallader