I sometimes like to sort vectors in a .clj file.
I can do sort lines in IntelliJ, but that requires something like:
(def omit-stacktrace-frames
[#"aaaa.*"
#"aero.*"
#"aleph.*"
#"bidi.*"
#"clj-http.*"
#"clojure.*"
#"cognitect.test-runner.*"
#"com.stuartsierra.component.*"
#"java.*"
#"manifold.*"
#"org.apache.*"
#"reloaded.*"
#"slingshot.*"
#"sun.*"
#"yada.*"
#"zzzz.*"])
where I select everything but #aaaa and #zzzz. Has anybody got a better suggestion so that I don't need those dummy values? Something like sort selection (not lines) / selected text?I use the String Manipulation plugin, which has a Sort Tokens... action
Nice! I didn't know about that one.
I think I found it back in the day when there wasn't a Cursive action to sort required namespaces