This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-19
Channels
- # announcements (3)
- # babashka (42)
- # beginners (84)
- # calva (3)
- # cider (13)
- # clj-kondo (9)
- # cljs-dev (6)
- # cljsrn (32)
- # clojure (47)
- # clojure-argentina (4)
- # clojure-france (2)
- # clojure-spec (17)
- # clojure-uk (15)
- # clojuredesign-podcast (4)
- # clojurescript (41)
- # conjure (53)
- # cursive (16)
- # data-science (5)
- # duct (1)
- # emacs (11)
- # events (1)
- # exercism (3)
- # fulcro (48)
- # graalvm (20)
- # graphql (1)
- # joker (3)
- # kaocha (2)
- # malli (2)
- # meander (6)
- # pathom (3)
- # planck (18)
- # rdf (3)
- # re-frame (14)
- # ring-swagger (1)
- # shadow-cljs (15)
- # specter (1)
I'm trying out Krell and trying to get a good REPL setup.
Here's my REPL config...
The problem I have is it starts in "CLJ mode" which means symbols don't resolve and I can't load code from the editor. I can switch over using the dropdown - then it works fine.
Is that something Krell can fix - some kind of handshake which might be missing as the REPL boots?
Yes, Cursive switches between REPL types by scanning for particular output lines. That should be configurable, but isn’t at the moment. The current check looks like:
(or (.contains ^String line "Type `:cljs/quit` to stop the ClojureScript REPL")
(.contains ^String line "To quit, type: :cljs/quit")
(re-matches #"ClojureScript [0-9\.]+" line))
hrm, though I see that you're probably detecting Clojure by looking for the version string ...
Thanks - although once that’s configurable it should be easier to make work with anything.
Or is it something Cursive can handle
Here's what it looks like when I boot up...