lein project cross-reference tools

69 views
Skip to first unread message

Dave Tenny

unread,
Apr 19, 2016, 9:30:55 AM4/19/16
to Clojure
I'm tired of doing 'find-grep' type operations (including that command in emacs).

Are there any decent tools for producing cross reference reports and emacs who-calls data in some useful form?  

A search on the topic mostly points to 'crossclj', which doesn't seem to be what I want (I don't need to see who uses what from, say, clojars).

I have a big project which, in conjunction with 'lein modules' has many subprojects.  I can't really load a REPL on all of them in emacs.  I'm happy with source code analysis and the assumption that I don't need to know who is calling functions by obscured dynamic lisp means.


Dave Tenny

unread,
Apr 19, 2016, 9:34:04 AM4/19/16
to clo...@googlegroups.com
Oh, if crossclj DOES do what I'm asking, please let me know, I found the pages I visited a bit confusing as to how I might analyze my (private) projects.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/ejNMVjyjp-Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dave Tenny

unread,
Apr 19, 2016, 9:54:15 AM4/19/16
to clo...@googlegroups.com
Hmm, okay, trying etags, certainly plenty of google hits there as opposed to googling "cross reference".  FYI, in terms of emacs compatibility, I generally use CIDER if anybody has suggestoins for how to search without a live repl or with a live repl but across projects or uberjars.

Dave Tenny

unread,
Apr 19, 2016, 9:57:54 AM4/19/16
to clo...@googlegroups.com
Tags aside, a transtive closure who-calls report for a definition would still be appreciated. 

Dave Tenny

unread,
Apr 19, 2016, 2:46:18 PM4/19/16
to clo...@googlegroups.com
Still looking for basic slime-like who-calls in cider.  Is it there and I'm just missing it?

Colin Yates

unread,
Apr 19, 2016, 2:50:23 PM4/19/16
to clo...@googlegroups.com
Have you tried the 'find usages' functionality of
https://github.com/clojure-emacs/clj-refactor.el? Also - you might
want to download IntelliJ and give cursive a try - cursive is
fantastic for this sort of stuff....

... and yes, I too feel a bit of despair that my suggestions is 'try
this other tool, if that doesn't work, try this entire editor, if that
doesn't work then....' :-)
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an

Dave Tenny

unread,
Apr 19, 2016, 3:26:08 PM4/19/16
to clo...@googlegroups.com
I'll take a look at that clj-refactor.

Re: IntelliJ.   

I vaguely (possibly incorrectly) recall there was someone who used the eclipse capabilities for java source code analysis and cross referencing and packaged it up as some kind of emacs extension. I wonder if anybody has done that with IntelliJ.  


Reply all
Reply to author
Forward
0 new messages