I’d like to rummage around source code and find variables with my metadata. How do I acquire all the namespaces? I can load a known namespace using ns-publics and discover the vars I’m interested in, but I don’t know how to discover the namespaces to iterate thru. That is, the file/namespaces under src.
(all-ns) does the trick :)
n.b. only require d namespaces will show up. If you have started your app at least once, of if you use tools.namespace, most/all of them will have been required already
FYI, i ended up going with tools.namespace. Does what i need.
Happy to hear 🤝
Yes, exactly my problem. I need to discover the namespaces, they will not be loaded. What do you mean by “use tools.namespace”? @vemv
tools.namespace (or a recent alternative https://github.com/tonsky/clj-reload) will require all code in your project e.g. src/ test/ dev/
That looks promising, I see you can just do src which is also what I need. Thanks!