This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-19
Channels
- # adventofcode (44)
- # announcements (2)
- # aws (9)
- # beginners (166)
- # braveandtrue (16)
- # calva (170)
- # cider (14)
- # cljdoc (9)
- # cljs-dev (4)
- # cljsrn (1)
- # clojars (1)
- # clojure (150)
- # clojure-dev (15)
- # clojure-europe (4)
- # clojure-india (3)
- # clojure-italy (93)
- # clojure-nl (18)
- # clojure-serbia (1)
- # clojure-spec (5)
- # clojure-uk (45)
- # clojurescript (54)
- # cursive (19)
- # data-science (8)
- # datomic (83)
- # emacs (6)
- # events (1)
- # hoplon (3)
- # hyperfiddle (3)
- # jobs (6)
- # jobs-discuss (1)
- # klipse (1)
- # lein-figwheel (6)
- # leiningen (15)
- # lumo (1)
- # nrepl (1)
- # pedestal (15)
- # re-frame (48)
- # reagent (4)
- # reitit (2)
- # remote-jobs (1)
- # rum (2)
- # shadow-cljs (111)
- # spacemacs (10)
- # sql (16)
- # testing (10)
- # tools-deps (5)
hi are there any cursive users here?
the official channel seems dead, i think they’re all in another timezone
i can’t seem to autoimport my own namespaces, just external ones
anyone else had this?
@christopher.paul I use Cursive, but I've never used that feature. Guessing that it is similar to :repl-requires
https://clojurescript.org/reference/repl-options#repl-requires
there seem to be core libraries baked into it, so it autoimports those fine
do you just manually import all your stuff, mfikes?
in other languages such as typescript, i’ve just got used to autoimporting stuff i guess
so i’ve created a load of components in different namespaces
i want to use them together
i dont’ want to be keying stuff in all the time really
Yeah, for me I end up seeing little autocomplete suggestions where you hit alt-enter to add things. So I'd say it works for me in Cursive.
i get suggestings when im typing in
but they dont get added to the top of the file
they just have their full blown namespace inline
i end up with that
rather than leinshadow.another in my require block
if i have a lot of nesting that’s going to look ugly
yea they’re all asleep i think
could you do me a favour
and tell me what version of the plugin you have installed?
thanks
i think im on an older version
for some reason im on 2017.2
ah wait that could be because of my version of intellij
Not sure if this is the exact issue, but whenever I've had a problem like that in the past it has been related to https://stackoverflow.com/questions/2735600/why-is-there-a-limit-of-max-20-parameters-to-a-clojure-function
Put them in a vector/list
@lilactown can't have more than 20 explicit args in the signature, you need a rest parameter if you have more
@dnolen it seems to be exploding here: https://github.com/Lokeh/hx/blob/master/src/hx/hiccup.cljs#L63
@lilactown hrm parse-element is a muitimethod, can you make something more minimal?