chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
zebu 2019-08-07T03:31:22.056100Z

When i evaluate a block it doesn't appear in rebl

zebu 2019-08-07T03:31:56.056300Z

anyone had this?

zebu 2019-08-07T03:32:39.056600Z

if i type the var in rebl it has the value though

zebu 2019-08-07T03:33:06.057Z

after evaluating the def in the editor

zebu 2019-08-07T03:33:33.057400Z

i'm using sean corfields deps.edn setup

zebu 2019-08-07T03:35:10.057900Z

repl is run with command clj -A:socket:rebl-11

zebu 2019-08-07T03:35:39.058300Z

and chlorine has successfully connected to the repl

zebu 2019-08-07T03:36:04.058600Z

just not printing out in rebl

zebu 2019-08-07T03:36:46.059100Z

have got the same thing running same setup on windows and linux

seancorfield 2019-08-07T04:14:09.059600Z

@jburvill you have to use the "inspect" functions, rather the "eval" versions.

seancorfield 2019-08-07T04:15:05.059900Z

Are you using the keymap from my Atom/Chlorine setup? https://github.com/seancorfield/atom-chlorine-setup

zebu 2019-08-07T05:09:17.061500Z

thanks @seancorfield the inspect commands do work, i was using the chlorine suggested keymaps, will surely check out your version now 🙂

seancorfield 2019-08-07T05:14:49.062300Z

@jburvill My repo also has a bunch of extra commands in the init file that add even more REBL stuff -- Var and namespace browsing etc.

zebu 2019-08-07T05:55:44.063Z

I might have to adapt it a bit since i'm using parinfer rather than paredit, and vim-mode-plus

seancorfield 2019-08-07T16:08:31.063800Z

I use both parinfer and paredit. I let parinfer deal with indentation and parentheses but use paredit for structural editing.

Ahmed Hassan 2019-08-07T18:12:14.064300Z

Is compliment loaded automatically?

Ahmed Hassan 2019-08-07T18:41:04.065100Z

When I input expressions in REPL and enter, there isn't happened anything.

Ahmed Hassan 2019-08-07T18:41:22.065500Z

Like (+ 1 2) and enter, and it stays there.

Ahmed Hassan 2019-08-07T18:43:56.066200Z

In .clj namespaces it works fine using ctrl-, b

Ahmed Hassan 2019-08-07T18:52:43.067100Z

And how can I connect with running lein repl and shadow-cljs both at the same time in two different projects? (And keep them running)

Ahmed Hassan 2019-08-07T18:54:33.068Z

When repl of one project is connected, next one doesn't connect.

Ahmed Hassan 2019-08-07T18:55:42.068800Z

lein is for server repo and shadow-cljs for client repo.

seancorfield 2019-08-07T20:11:28.070200Z

@ahmed1hsn The REPL panel in Chlorine is just for display. You can't type into it. There's a school of thought that you simply shouldn't type into a REPL if you're in an editor -- use a comment form in a source file for such exploratory code so you get to keep it around.

seancorfield 2019-08-07T20:12:15.070900Z

Chlorine only supports one REPL connection at a time, so you need to disconnect from one and then connect to the other when you need to swap REPLs.

seancorfield 2019-08-07T20:13:40.072600Z

And, no, compliment is not loaded automatically. You need to add it as a dependency when starting the Socket REPL if you want auto-complete (but it should all work fine without that -- I don't have compliment as a dependency in any non-dev processes and I can still connect Chlorine to them and use it).

mauricio.szabo 2019-08-07T23:44:22.073Z

There's documentation on shadow that shows how to do it. After I start the watch process over lein repl, I can connect on clojure and then run "connect embedded ClojureScript" to connect the cljs repl (as both are now running on the same socket)

mauricio.szabo 2019-08-07T23:45:44.074500Z

Just wanted to say that if someone knows how to inject compliment on an already running repl, ping me that I'll implement it on Chlorine too :)