Fork me on GitHub
#rewrite-clj
<
2022-04-14
>
Oliver George00:04:51

Quick question in case I'm missing something obvious. I wanted to read all my code (CLJS) and find the most commonly used keywords. I came up with a z/postwalk solution. https://gist.github.com/olivergeorge/600ea4630fc253cc02a0676f5d561829 I was hoping that rewrite-clj would take advantage of the (ns (:require...)) aliases to give me access to the resolved keyword namespace. From the documentation I gather that's not a feature. No great drama. Just wondering if I missed something obvious.

snoe02:04:30

You'll want to look at clj-kondo analysis if you need to "understand" code like that.

👍 1
Oliver George06:04:50

Bit of a lazy question but there's no API for kondo is there. You configure it then run to generate data output to poke around. (not complaining just confirming approach)