This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-04
Channels
- # admin-announcements (3)
- # alda (4)
- # beginners (30)
- # boot (116)
- # cbus (5)
- # cider (20)
- # clara (10)
- # cljs-dev (12)
- # cljsjs (41)
- # cljsrn (9)
- # clojars (6)
- # clojure (131)
- # clojure-bangladesh (5)
- # clojure-colombia (2)
- # clojure-dev (9)
- # clojure-ireland (4)
- # clojure-japan (3)
- # clojure-norway (10)
- # clojure-poland (6)
- # clojure-russia (59)
- # clojure-sg (1)
- # clojurebridge (2)
- # clojurescript (76)
- # clojurewerkz (4)
- # css (6)
- # cursive (21)
- # data-science (24)
- # datomic (27)
- # emacs (9)
- # hoplon (68)
- # jobs (2)
- # jobs-rus (1)
- # ldnclj (10)
- # lein-figwheel (9)
- # leiningen (21)
- # off-topic (5)
- # om (232)
- # onyx (63)
- # parinfer (2)
- # proton (25)
- # re-frame (12)
- # reagent (39)
- # untangled (6)
- # yada (122)
So many defXYZ my-var ...
don't get recognized that they define a var. For instance if I use mount.core/defstate
. I'd suggest allowing a little popup over any top level defXYZ
statements that woule tell Cursive that this defines a var. Thoughts?
@rauh: Yes, I’m planning exactly that - not in the next release, but probably the following one.
I’m making some changes to move the definitive API solution along too, I’m hoping that will be within a couple of months.
The interim solution will also allow “this form works like let
” and perhaps for
and ->
/`->>` too
@cfleming: Awesome! Will that also allow me to pull up docs from a dynamically created var?
For instance, carmine slurps in a gigantig JSON file with all the Redis commands and defines tons of defn
's with it. I don't get any docs from Cursive 😞
So that’s a different story. There’s another solution in the works for that, which is also required for Datomic (since it doesn’t ship with source).
There you’ll be able to specify namespaces that should be introspected, those will generate stubs which will then be indexed as normal.
That’ll be useful for libs which are so complex that there’s no way I can add support for them like Midje & Overtone
This is all very tricky with IntelliJ’s indexes, which weren’t really designed for this sort of thing.