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'd like to sort the namespaces in a non-alphabetical way: clojure core libraries first, followed by external namespaces, and then internal namespaces. Feels like it'd be simple to add on top of #251, after that's merged I can take a crack at it.
Thinking it could be configured by either:
user supplied fn arg to sort-by passed to sort-ns-references (not sure how a user supplied fn would work in an edn config)
a :sort-ns-regexes option, a vector of regexes matching the required namespaces in order of sorting rank
This would let me do that while opening it up to whatever order people would like, and could default to alphabetical sorting
The text was updated successfully, but these errors were encountered:
I'd like to sort the namespaces in a non-alphabetical way: clojure core libraries first, followed by external namespaces, and then internal namespaces. Feels like it'd be simple to add on top of #251, after that's merged I can take a crack at it.
Thinking it could be configured by either:
sort-by
passed tosort-ns-references
(not sure how a user supplied fn would work in an edn config):sort-ns-regexes
option, a vector of regexes matching the required namespaces in order of sorting rankThis would let me do that while opening it up to whatever order people would like, and could default to alphabetical sorting
The text was updated successfully, but these errors were encountered: