Find reference type on classpath

4 views
Skip to first unread message

Ivan Willig

unread,
Oct 11, 2010, 3:21:08 PM10/11/10
to clo...@googlegroups.com
Hi list,
I often run into this issue where I am follow a Java documentation where they developers fail to explain where they import packages from.  In most Java IDE's you can search your classpath for reference types. It would be great is if was possible to do the same in slime. I looked around the docs but was unable to find and insights on how do to this.

Does anyone have a way of searching for reference types from within slime/emacs?


Ivan Willig


Phil Hagelberg

unread,
Oct 11, 2010, 4:39:34 PM10/11/10
to clo...@googlegroups.com

You can use M-. over an identifier to jump to its definition. This is
totally unrelated to reference types, but sort of sounds like what you
want. Your question is a bit muddled, though.

-Phil

Michael Wood

unread,
Oct 12, 2010, 3:25:51 AM10/12/10
to clo...@googlegroups.com

I think what he's saying is that if he finds a chunk of code somewhere
(e.g. on a blog or a tutorial) it often doesn't have the imports
listed, so he has to figure out which imports are needed. Java IDEs
have a way to dig through your classpath looking for classes used in
the code and generate or suggest import statements for you.

I'm sure I've seen something on this list about someone doing
something similar for Clojure.

Ivan, perhaps digging through the list archives will turn up something.

--
Michael Wood <esio...@gmail.com>

Reply all
Reply to author
Forward
0 new messages