hey all, I'm only getting inline input and no output to the console (except for load file).
i see there's a recent conversation around the console, is that expected at the moment?
Are you evaluating something that should print something on the console?
Like println
or prn
?
no
i even just fired up a standalone case with a (comment (+ 1 1))
and evaluating the form
sorry, not the comment form lol
So yes, it is expected unfortunately. In the current version the console just prints the results of stdout and stderr
got it 👍
I'm just fixing some styling issues and I'll publish a new version 🙂
makes sense to me!
(styling issues = some code goes outside of the screen 😄)
ha nice 😄
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).
@gerred If you have REBL and use my Atom/Chlorine setup, you get all your results displayed in there 🙂
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
(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)
ah ha nice.
I use "inspect var" and "inspect namespace" quite a bit for REBL's var/ns usage/refs functionality.
interesting, I could see getting used to this.
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!
(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)
I hacked up a clj-kondo linter for Atom if anyone wants to give it a spin.
it's based on the joker one
I'm happy with Joker and don't want to install Kondo at the moment.
👍
(I've got a lot of stuff configured around Joker in our work repo so switching to Kondo would be very disruptive)
fair enough!
https://atom.io/packages/linter-kondo linter-kondo is published! 🎉