This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-18
Channels
- # announcements (1)
- # aws (13)
- # beginners (55)
- # calva (8)
- # cider (73)
- # cljs-dev (96)
- # clojure (119)
- # clojure-europe (4)
- # clojure-italy (41)
- # clojure-nl (14)
- # clojure-uk (6)
- # clojurescript (90)
- # cursive (14)
- # data-science (1)
- # datomic (20)
- # dirac (1)
- # emacs (32)
- # figwheel-main (11)
- # fulcro (81)
- # hoplon (2)
- # jobs (1)
- # lein-figwheel (2)
- # luminus (1)
- # lumo (19)
- # nyc (3)
- # off-topic (60)
- # other-languages (1)
- # pedestal (5)
- # quil (1)
- # re-frame (3)
- # reagent (3)
- # reitit (5)
- # remote-jobs (1)
- # ring-swagger (2)
- # shadow-cljs (43)
- # sql (15)
- # tools-deps (20)
- # vim (21)
- # yada (6)
hi, just curious. Is there something I need to enable to have cursive let me know when I'm not using something I imported ? Seems to work for :as hiccups
but not for the values in :refer [x y z]
Consider that sometimes you want to include a namespace just because you want it to be loaded when evaluating the current namespace. I actually remove the :as
on purpose so Cursive won't throw me a warning 😕
yep. I also do that for namespaces with multimethods or stuff like mount. But it would be nice if cursive would check for unused stuff in :refer
I usually end up with a few of those when refactoring 😄 Asked because it seems like "low hanging fruit", it's probably not given the age of the issue
I’m sure this has been asked before, but the clojurians log search result throws an exception, so I can’t read the prior answer, but does Cursive have any support for HugSQL ghost definitions, something like https://github.com/rkaercher/hugsql-ghosts?
The com.datomic/ion lib comes aot-compiled (no clojure source) so Cursive can’t resolve the names. Is there a way to handle this (via some extern file or something?)
> Cursive does type inference (or propagation, really) in the editor
https://news.ycombinator.com/item?id=13918567
Just curious, is this implemented in such a way that it can be ever open-sourced as a general-purpose lib?
Having some heuristics for determining the return value of defn foo
could have quite some applications
I know there's typed-clojure and spectrum but I'm looking for something relatively lightweight and unassuming (no core.typed, no spec, etc)
@claudiu No, that doesn’t work right now, but I’m actually planning to add that soon as part of some namespace refactoring improvements.
@dadair No, it doesn’t - I’ve never seen that before. It looks interesting, thanks!
@dmarjenburgh I’ll have to add it to the list of things that stubs are generated for, thanks.