This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-27
Channels
- # bangalore-clj (2)
- # beginners (37)
- # boot (16)
- # cider (17)
- # clara (4)
- # cljs-dev (351)
- # cljsrn (16)
- # clojure (219)
- # clojure-belgium (4)
- # clojure-dev (3)
- # clojure-france (2)
- # clojure-italy (24)
- # clojure-russia (23)
- # clojure-spec (55)
- # clojure-switzerland (3)
- # clojure-uk (89)
- # clojurescript (121)
- # cursive (2)
- # datomic (29)
- # devops (2)
- # graphql (8)
- # hoplon (15)
- # immutant (5)
- # lein-figwheel (4)
- # liberator (3)
- # luminus (18)
- # off-topic (9)
- # om (6)
- # onyx (31)
- # pedestal (48)
- # precept (9)
- # re-frame (19)
- # reagent (63)
- # ring-swagger (69)
- # robots (1)
- # slack-help (14)
- # spacemacs (12)
- # sql (2)
- # test-check (4)
- # unrepl (28)
- # untangled (5)
- # yada (3)
Is it possible to do a full-text search in all project files and also the source code of libraries used in the project (I assume leiningen)?
What are you searching for? , g g
can take you to the definition of a specific symbol. Otherwise, I'm not sure
Yeah, I know those ones. Sometimes, I need to search for some string in 3rd party libraries - just to explore code or for debugging purposes. I used to use this feature in IntelliJ IDEA
@jumar if I know the namespace then I use , g n
and search /
through that list of vars for the namespace. Or generally search documentation using apropos, , h a
.
If you require a namespace for a library once the repl is running then you also get auto-complete for the vars in that library (if you have auto-completion as a layer)
thanks for tips. I'm pretty much aware of those options. However, I was really looking for the option to do some kind of full-text search through all the libraries; or at least through all namespaces/files of given library
It might sound like a weird requirement, but I used to use this kind of stuff from time to time. Now, when I use (and love) spacemacs, I'm trying every possible option to avoid using any other editor 🙂
The best thing I've found so far is to invoke cider-classpath
, look for interesting jars and then do zipgrep "search-string" library.jar
in eshell
@jumar I am curious about what you get from searching through all the libraries in a project, what are you trying to find or understand? I ask to learn if there is something I am missing out on. Thanks