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
cpmcdaniel 2020-04-03T17:57:57.038200Z

is it possible to connect to a boot repl?

mauricio.szabo 2020-04-03T17:58:24.038900Z

I'm not familiar with boot, but if you can start a socket REPL from boot, yes.

cpmcdaniel 2020-04-03T17:58:37.039600Z

java.lang.RuntimeException: Unable to resolve symbol: require in this context
clojure.lang.Compiler$CompilerException: Syntax error compiling at (1:5).
I am trying to connect and having this issue when I load file into the repl session

cpmcdaniel 2020-04-03T17:59:18.039900Z

mauricio.szabo 2020-04-03T18:00:06.040700Z

Can you evaluate forms from the editor? For example, can you evaluate (clojure.core/range 200) and send me the result?

cpmcdaniel 2020-04-03T18:00:15.040900Z

I can eval simple forms

cpmcdaniel 2020-04-03T18:00:16.041100Z

yes

cpmcdaniel 2020-04-03T18:01:34.041500Z

That expression works fine

mauricio.szabo 2020-04-03T18:01:57.042Z

It shows the whole 200 elements, or does it stops on 9?

cpmcdaniel 2020-04-03T18:02:15.042400Z

and I can use "Eval selection" on the ns form and it returns nil, like usual

cpmcdaniel 2020-04-03T18:02:22.042600Z

it returns all 200

cpmcdaniel 2020-04-03T18:03:13.043700Z

actually, it looks like just Load file that isn't working

mauricio.szabo 2020-04-03T18:03:14.044Z

Ok, so you're connecting to a nREPL. I think I may have found my first bug 😄 Try to export the following environment variable:

BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}"'

cpmcdaniel 2020-04-03T18:03:26.044500Z

I can select the whole buffer and Eval Selection

mauricio.szabo 2020-04-03T18:03:41.044800Z

And then, restart boot and see if you can connect to port 5555