This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-20
Channels
- # arachne (4)
- # bangalore-clj (1)
- # beginners (38)
- # boot (182)
- # cider (21)
- # cljs-dev (9)
- # clojars (5)
- # clojure (229)
- # clojure-austin (1)
- # clojure-berlin (1)
- # clojure-czech (3)
- # clojure-dusseldorf (3)
- # clojure-ireland (5)
- # clojure-italy (4)
- # clojure-russia (33)
- # clojure-spec (73)
- # clojure-taiwan (6)
- # clojure-uk (22)
- # clojure-ukraine (1)
- # clojurescript (80)
- # core-async (26)
- # cursive (3)
- # datascript (20)
- # datomic (9)
- # defnpodcast (8)
- # editors (4)
- # emacs (7)
- # garden (41)
- # hoplon (2)
- # java (1)
- # lambdaisland (2)
- # lein-figwheel (1)
- # leiningen (5)
- # luminus (4)
- # lumo (36)
- # off-topic (4)
- # om (21)
- # onyx (1)
- # pedestal (33)
- # re-frame (33)
- # ring-swagger (70)
- # spacemacs (26)
- # specter (7)
- # sql (6)
- # timbre (2)
- # untangled (12)
- # vim (3)
- # yada (1)
Hi all, more of a general question, so in an ide like Cursive (IntelliJ) you can browse source code of third-party dependencies fairly easy, the decompiler (I think) lets you look at the libraries you’ve imported, I have found this to be a fairly useful feature. Is there some tool in spacemacs or emacs generally that lets you examine project dependencies?
You know, I thought I had tried that, and while that worked for clojure specifically, I was trying to use the apache storm library, and I was not able to do it. Let me give it another go.
for clojure sources, it should work as long as you're connected via nrepl and the sources are available locally (even inside a jar)
IIRC, storm's clojure parts don't always do require/use/loads inside of the ns
macro (it provides some other convenience macro) and that might affect the jump to functionality
one quick way to test would be to do something like create a new project and include clj-time as a dependency
then write a wrapper for clj-time.core/now
in your namespace, and then try to jump to your invocation of clj-time.core/now
. It should jump you to clj-time.core
I often need to eval buffer (`, e b`) before I can navigate to a symbol in another namespace/library
@asragab in the past, I added storm to my dev profile as a checkout dependency (https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies) so that I could make SPC p f
find the storm stuff, and then I select all of the java and clj files using a regex and load them. Then I can use SPC j i
for jump inside the buffer and SPC j I
for jump across the project
it'll take a bit of memory to load all of the files, but if you have the memory to spare, it makes life easy