This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-15
Channels
- # admin-announcements (25)
- # beginners (21)
- # boot (487)
- # cider (8)
- # clara (2)
- # cljsrn (35)
- # clojure (44)
- # clojure-austin (6)
- # clojure-russia (211)
- # clojure-uk (25)
- # clojurescript (225)
- # core-matrix (1)
- # data-science (3)
- # datomic (23)
- # events (1)
- # hoplon (9)
- # immutant (14)
- # jobs (1)
- # jobs-discuss (5)
- # ldnclj (3)
- # lein-figwheel (2)
- # off-topic (2)
- # om (65)
- # onyx (65)
- # parinfer (3)
- # pedestal (4)
- # proton (1)
- # protorepl (1)
- # re-frame (16)
- # reagent (3)
- # ring-swagger (1)
- # specter (11)
- # untangled (1)
- # yada (8)
I’m interested in finding out if/how I can jump into arbitrary Java code using M-.
. For example, pressing M-.
on java.io.StringWriter
will correctly take me to the java source, but the same operation fails if I want to read the source of (say) clojure.asm.AnnotationVisitor
. I assume that this has to do with classpaths and some such, I’d like to know how to fix / enable this. Any pointers would be wonderful.
h0bbit: I know in the old JDEE days you needed to set the CLASSPATH and the SOURCEPATH to do that, but that was soooo long ago I don't remember how to do that
I think sometimes you need to tell lein to actually download the sources, which it might not always do automatically. I forget the syntax for that.
@malabarba: I’m downloading sources using lein pom; mvn dependency:sources
. The issue is getting lein to add these to the classpath without having to manually specify each and every one. I feel like there should be a way to do this