codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Modify Reorganize to ignore and/or prioritize certain fields by name.

Open necoras opened this issue 9 years ago • 1 comments

Would it be possible add the ability to customize Codemaid's Reorganize functionality to group certain fields based on the field's name? My specific use case is that all of my models have an "id" field and I'd like it to be at the top of the file, not somewhere in the middle. I'm sure there are other similar use cases I'm not immediately considering.

necoras avatar Apr 17 '17 21:04 necoras

Thanks for the suggestion. There have been a couple similar requests in the past (see #436 and #317) but we do not yet have a way to annotate code to provide custom instructions to CodeMaid.

codecadwallader avatar Apr 18 '17 11:04 codecadwallader