This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (1)
- # aws-lambda (62)
- # babashka (116)
- # beginners (67)
- # chlorine-clover (39)
- # cider (10)
- # cljs-dev (5)
- # clojure (30)
- # clojure-austin (2)
- # clojure-europe (2)
- # clojure-italy (6)
- # clojure-nl (24)
- # clojure-uk (28)
- # clojurescript (33)
- # crux (9)
- # data-science (6)
- # datascript (10)
- # datomic (5)
- # duct (39)
- # emacs (1)
- # events (8)
- # fulcro (9)
- # graalvm (29)
- # hoplon (7)
- # juxt (10)
- # malli (4)
- # off-topic (6)
- # pathom (10)
- # perun (1)
- # reagent (45)
- # shadow-cljs (5)
- # sql (14)
- # tools-deps (10)
I’ve got chlorine up and running, but when I use it w/ REBL, having issues: • I get connected to the repl and inline results show up fine • but nothing is output to the Chlorine window (it works when not using REBL, though without an input area) • I can work in the repl and it communicates with REBL properly • So, it’s like half the communication is working I’ve followed Sean Corfield’s examples so far. Any help or ideas welcome!
I restarted Atom and am now seeing output properly in Chlorine’s pane, but no love with REBL
@jamieorc The commands that submit values to the REBL are different from Chlorine's normal eval commands.
It's probably easier if you use my setup: https://github.com/seancorfield/atom-chlorine-setup
You'll see that the keymap in my setup binds
ctrl-; b to
inspect-block instead of
eval-block. It's the
inspect variants that interface with REBL.
@seancorfield Thanks, I’ll have a look. I had noticed your chlorine setup the other day when I was glancing around, but forgot about that when I set up REBL today.
I’m putting in manually b/c my keybindings are totally other from yours and Mauricio’s
@seancorfield Got it! Thanks for your help.
Is there any difference between
"chlorine:inspect-block" and "sean:inspect-block"` ? AFAICT they do the same thing.
I can't remember if the code is identical. I wanted more REBL functionality so I decided to maintain it entirely outside Chlorine.
One caveat to be aware of, that I haven't addressed yet, is that you can't use the
inspect-* commands on Clojure 1.9 or earlier (although you can use them without REBL on the classpath -- they just act like basic
(I work entirely on the very latest Clojure version so I just don't run into this)
Just compared the source of Chlorine to my
init.coffee and, right now, they are functionality identical.
The wrap in REBL stuff just evaluates the selected code as usual if no REBL is available.
Where did you find the Chlorine code in it’s source? I was looking and hadn’t found it yet
I often have my editor connected to a Socket REPL on a remote server (so, no REBL), and I still use the
@jamieorc Chlorine is written in ClojureScript, so the code that Atom interprets is a compiled JS version. You can see the code on Github
To be more precise, if you want to see what's the exact code for your version, see the tag that is suffixed
-source - that's the original code for that version 🙂
Oh, hey @mauricio.szabo I didn’t realize you had jumped in. Thanks for your help, too