On 11 October 2010 22:39, Phil Hagelberg <p...@hagelb.org> wrote: > On Mon, Oct 11, 2010 at 12:21 PM, Ivan Willig <iwil...@gmail.com> wrote: >> 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? > > 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.
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 <esiot...@gmail.com> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en