This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-08
Channels
- # announcements (1)
- # babashka (28)
- # beginners (30)
- # calva (1)
- # cider (13)
- # clojure (26)
- # clojure-brasil (2)
- # clojure-europe (29)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-spec (4)
- # clojure-uk (5)
- # cursive (17)
- # data-science (15)
- # datomic (8)
- # emacs (8)
- # events (1)
- # hyperfiddle (54)
- # joyride (18)
- # jvm (2)
- # kaocha (8)
- # lsp (8)
- # malli (4)
- # missionary (11)
- # reagent (5)
- # reitit (13)
- # releases (2)
- # rum (2)
- # scittle (6)
- # shadow-cljs (3)
Is there any functionality via cider (or maybe via lsp) to search through all doc strings in a project?
Not in cider You could get all vars for all namespaces, get the :doc from their metadata and grep from there
Cool. Maybe I will play with that. It seems like it would be useful, especially for larger projects.
Happy it helps. Personally I have a few such snippets for things that I don't particularly believe that many people would want into CIDER
you can copy clojure.repl/apropos
which already do that kind of stuff even with regexes but just looks at the names, not the docstrings
> Personally I have a few such snippets for things that I don't particularly believe that many people would want into CIDER Are they on a repo somewhere, @U45T93RA6? They be useful as customization examples!
For the cronically curious 🙃 https://github.com/zenmacs/.emacs.d/tree/master/snippets/clojure-mode These are Yasnippet snippets, some are file oriented, others repl oriented Intents can go from 'abbreviate' to 'how do I do this thing I need once a year?' to 'small feature'
@U0739PUFQ But CIDER already supports this natively. I'm shocked that nobody here knows this. 😄