gmlewis / flutter-stylizer

Flutter Stylizer is a VSCode extension that organizes your Flutter classes and mixins in an opinionated and consistent manner.
https://marketplace.visualstudio.com/items?itemName=gmlewis-vscode.flutter-stylizer
Apache License 2.0
23 stars 3 forks source link

Separate grouping and sorting #40

Open jibbers42 opened 2 years ago

jibbers42 commented 2 years ago

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.

gmlewis commented 2 years ago

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.