flutter-stylizer icon indicating copy to clipboard operation
flutter-stylizer copied to clipboard

Separate grouping and sorting

Open jibbers42 opened this issue 1 year ago • 1 comments

I'd like to configuregroupAndSortGetterMethods and groupAndSortVariableTypes for grouping without sorting.

This would be nice for pulling together types that were accidentally put out of group, but still allowing a custom, logical sort within the group

Perhaps new settings could be introduced that override the existing ones. Something like a getterMethods setting might take one of: ignore, group, or groupAndSort. And also the same choices for a new variableTypes setting.

... it's kinda hard to find a good word for ignore (off, disabled, none, etc.) without making the setting something like getterMethodsProcessing.

jibbers42 avatar Oct 12 '22 10:10 jibbers42

Thanks for the idea, @jibbers42 . As you pointed out, the settings are going to be tricky with this one. I'll leave this open to see if there is more interest in this feature before attempting to develop it.

gmlewis avatar Oct 12 '22 11:10 gmlewis