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
2019-08-19T16:25:05.185800Z

A couple of confused newbie questions... how do I compile or reload after source changes? I see tools.namespace can be used - where is the place to put that so that Chlorine finds it? And how would I do it the old fashioned way, without tools?

mauricio.szabo 2019-08-19T17:21:24.188600Z

If you're using lein, you can put it on your ~/.lein/profiles.clj file, so lein will add this library on every project you start. I think there's an equivalent file for clj CLI too...

mauricio.szabo 2019-08-19T17:23:28.192Z

If you don't want to use any tool, there's a config on Chlorine that's the way you want to refresh. The option "simple" will just issue a (require [your.namespace :reload :all])

mauricio.szabo 2019-08-19T17:25:10.193700Z

The "simple" configuration will not remove protocols nor multimethods, so if you use these simple will not reload then

mauricio.szabo 2019-08-19T17:25:46.194900Z

There's also a command called "Chlorine: load file" that will load the current file on the REPL

2019-08-19T17:52:36.195700Z

Perfect, thanks so much. I learn, slowly. 😊

2019-08-19T17:53:32.196800Z

I have setup clj / socket / rebl, but when I use Chlorine to connect to the socket repl, the evaluations don't automatically show up in rebl. However the command line repl does. What is the easiest way to do this?

mauricio.szabo 2019-08-19T18:03:34.197800Z

@mattias504 don't worry, any problems please post here. I'm trying to aggregate all the issues that people are having here to write a better documentation 🙂

mauricio.szabo 2019-08-19T18:07:23.199900Z

@sjharms There are two commands to evaluate things, one is chlorine:inspect-block or chlorine:inspect-top-block or others are evaluate-block or evaluate-top-block. Only inspect-* send the results to REBL, are you using these functions?

seancorfield 2019-08-19T18:56:25.200700Z

@sjharms use the key bindings etc from my atom Chlorine setup repo

seancorfield 2019-08-19T18:57:08.201800Z

It adds extra REBL functions in the init file too

👍 1
2019-08-19T19:38:46.202Z

Thank you I was following along with the youtube video and copying the configs, it is really helpful

2019-08-19T19:39:11.202200Z

Thanks! I was using the evaluate functions, that explains it!