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-09-12T20:57:03.204900Z

hey all, I'm only getting inline input and no output to the console (except for load file).

2019-09-12T20:57:12.205200Z

i see there's a recent conversation around the console, is that expected at the moment?

mauricio.szabo 2019-09-12T20:57:42.205400Z

Are you evaluating something that should print something on the console?

mauricio.szabo 2019-09-12T20:57:48.205600Z

Like println or prn?

2019-09-12T20:58:17.205800Z

no

2019-09-12T20:58:36.206Z

i even just fired up a standalone case with a (comment (+ 1 1)) and evaluating the form

2019-09-12T20:58:53.206300Z

sorry, not the comment form lol

mauricio.szabo 2019-09-12T20:58:54.206500Z

So yes, it is expected unfortunately. In the current version the console just prints the results of stdout and stderr

2019-09-12T20:59:08.206800Z

got it 👍

mauricio.szabo 2019-09-12T20:59:16.207Z

I'm just fixing some styling issues and I'll publish a new version 🙂

2019-09-12T20:59:25.207200Z

makes sense to me!

mauricio.szabo 2019-09-12T20:59:47.207400Z

(styling issues = some code goes outside of the screen 😄)

2019-09-12T21:00:04.207700Z

ha nice 😄

seancorfield 2019-09-12T21:12:44.208500Z

I am really surprised Ink took away functionality that clearly several other plugins relied on! ProtoREPL is broken too (and no one is maintaining that).

seancorfield 2019-09-12T21:13:18.209500Z

@gerred If you have REBL and use my Atom/Chlorine setup, you get all your results displayed in there 🙂

seancorfield 2019-09-12T21:13:32.209900Z

https://github.com/seancorfield/atom-chlorine-setup

mauricio.szabo 2019-09-12T21:14:13.211400Z

Yes, and I did try to add the source files from the old Ink console on Chlorine.... it's a mix of CoffeeScript with .jsx, old JS with require, new JS with import xxx from 'yyy', and obviously Shadow-CLJS didn't like that

seancorfield 2019-09-12T21:14:18.211700Z

(the REBL commands are defined in the init.coffee file there and the keymap.json binds the eval keys -- c-; b and c-; B -- to the inspect variants)

2019-09-12T21:14:26.211900Z

ah ha nice.

seancorfield 2019-09-12T21:15:27.212800Z

I use "inspect var" and "inspect namespace" quite a bit for REBL's var/ns usage/refs functionality.

2019-09-12T21:42:56.213100Z

interesting, I could see getting used to this.

seancorfield 2019-09-12T22:31:14.213300Z

For anyone using REBL with Atom/Chlorine: https://github.com/seancorfield/atom-chlorine-setup -- I just added inspect-java which looks up the symbol at the cursor as a Java class and displays the Javadocs in REBL!

👍 1
seancorfield 2019-09-12T22:51:50.213600Z

(just updated it so it works either with selected code -- which it evaluates -- or just the symbol under the cursor if nothing is selected... which makes it a lot easier to use)

2019-09-12T23:22:50.214Z

I hacked up a clj-kondo linter for Atom if anyone wants to give it a spin.

2019-09-12T23:22:54.214200Z

@seancorfield?

2019-09-12T23:22:59.214400Z

it's based on the joker one

seancorfield 2019-09-12T23:24:00.214900Z

I'm happy with Joker and don't want to install Kondo at the moment.

2019-09-12T23:24:22.215300Z

👍

seancorfield 2019-09-12T23:24:39.215700Z

(I've got a lot of stuff configured around Joker in our work repo so switching to Kondo would be very disruptive)

2019-09-12T23:24:43.215900Z

fair enough!

2019-09-12T23:37:29.216200Z

https://atom.io/packages/linter-kondo linter-kondo is published! 🎉