Fork me on GitHub
#cider
<
2020-06-14
>
Drew Verlee16:06:15

whats the best way to view all the functions defined in a current project? I guess i'm thinkng like clojure doc but in my editor? seems like cider-arpops with a top level namespace does this... cider-browse-ns almost does this but i have to select 1 namespace, rather then a group funtion and show the namespace. this might be something i can do with clojure core functions...

practicalli-johnny17:06:43

I use helm-swoop on the project, SPC / or SPC s p in Spacemacs, and use defn as the search pattern. Navigating the list of matches shows the code for each function. I assume this is not quite what you were looking for, but I do find it quite useful.

Drew Verlee17:06:02

Thats what i have been doing, just seeing what other options there are

Michaël Salihi06:06:58

Another option with Spacemacs, is to use SPC i j (spacemacs/helm-jump-in-buffer) which give you more accurate Helm result based on semantic.

bozhidar17:06:07

> whats the best way to view all the functions defined in a current project? I guess i’m thinkng like clojure doc but in my editor? I don’t quite get this. What exactly are you aiming to do?

dominicm17:06:20

Apropos can be restricted to a project.

Drew Verlee14:06:35

how is this done? is it by searching for a top level namespace of the project?

dominicm16:06:48

Yep. It looks for common roots, and uses that to figure out what is project and what isn't