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
2021-02-02T07:44:10.077800Z

@seancorfield thanks -- i was curious about the "expected to be able to do" part. but i can understand if you don't have any of that spelled out.

mauricio.szabo 2021-02-02T12:03:55.080800Z

@ivana as for the inline result, VSCode does not allow to offer "rich visualizations" to inline results, and currently the results that are rendered on the console are hiccup data structures. I'm thinking on a way to represent results as text, but I'm not yet sure on how this could play nice with the recent improvements on Interactive Results... But it would be interesting to have a converter to text - maybe I could offer a similar Chlorine/Clover experience in NeoVIM too 😄

mauricio.szabo 2021-02-02T12:18:10.081Z

(so much to try, so little time 😞)

2021-02-02T13:14:40.085700Z

@mauricio.szabo there are many plugins which shows inline results in different ways, some of this ways looks more pretty than others, but all of them are better than total absence of it 🙂 And also REPL window does not autoscroll down to show last result - user have to scroll it manually each time to see the result of evaluation. Or there is some setting for this autoscroll anywhere?

mauricio.szabo 2021-02-02T14:58:06.086600Z

@ivana yes, the autoscroll is buggy. It did work on some previous version, I'm still trying to figure out what's wrong 😱

seancorfield 2021-02-02T17:36:54.087300Z

@sogaiu Sorry, I just don't remember. It was some time last year when I tried it and I quickly went back to Atom/Chlorine at the time.

pez 2021-02-02T22:15:43.095200Z

Hello fellow VS Code Clojurians, here’s an experiment. Calva contains a lot of work and creativity towards making Clojure coding nice. And Clover seems super nice and reaches REPLs that Calva does not. What if Calva’s static features were easier to reach without the clashing of the REPL UIs? In this build of Calva there is a setting: calva.hideREPLUi that will, exactly, hide most of Calva’s REPL UI elements. In theory it should then be a possible companion to Clover’s REPL services. I’d love some help testing if it works. PR: https://github.com/BetterThanTomorrow/calva/pull/1009 Calva VSIX: https://10706-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.158-1005-hide-repl-option-52f9d35a.vsix

seancorfield 2021-02-02T22:51:42.096100Z

@pez Are there potentially other extensions I should disable before trying to install this? I have Strict Paredit and Parinfer and a few others that maybe might conflict?

seancorfield 2021-02-02T22:56:13.096900Z

Also, how do I actually use that URL? I clicked on it and my browser helpfully turned it into a .zip file 😐

seancorfield 2021-02-02T22:58:27.098300Z

Figured it out 🙂 Renamed .zip -> .vsix and then discovered that the Extensions panel has ... with Install from VSIX option. I disabled the standalone clj-kondo, as well as Strict Paredit and Parinfer...

pez 2021-02-02T22:59:08.099Z

Yeah.

pez 2021-02-02T23:01:37.101600Z

You can use Parinfer, but you will want to disable Calva’s auto-formatting then. (You’ll still have on-demand formatting of the current list using the tab key.) But I certainly use the autoformatter instead,.

seancorfield 2021-02-02T23:01:50.101800Z

Oh wow, that LSP integration shows a LOT of code assistance!

pez 2021-02-02T23:02:02.102Z

It packs a punch!

seancorfield 2021-02-02T23:03:28.102600Z

I suspect I'm going to need to re-map all of those Paredit keys -- they are not at all what I would expect 😐

seancorfield 2021-02-02T23:04:30.103700Z

https://github.com/ailisp/strict-paredit-vscode is what I'm used to...

pez 2021-02-02T23:04:31.103800Z

Depending on what keys you expect there might be keymaps out there that work better for you. I know @borkdude has some Emacsy ones .

seancorfield 2021-02-02T23:05:16.104700Z

I will try the Calva keys but, lordy, they are not very intuitive...

borkdude 2021-02-02T23:05:36.105400Z

Here are some of them that I ported from emacs: https://gist.github.com/borkdude/6958364c88312713e62f13d8ba2b28e7

pez 2021-02-02T23:05:37.105500Z

That paredit mostly use the same as the current one, I think.

seancorfield 2021-02-02T23:06:48.106400Z

wrap ( -- I'm used to ctl-alt-9 or ctl-alt-( not ctl-alt-shift-p 👀

pez 2021-02-02T23:09:11.108200Z

Yeah, some are a bit crazy. But ctrl+alt+( doesn’t make sense on most non-english keyboards.

pez 2021-02-02T23:10:33.109200Z

I tend to instead do Expand Selection and then type a bracket, to wrap. But that is I. 😄

pez 2021-02-02T23:11:24.109900Z

On Mac that is ctrl+w ( which is sort of a chord if you squint.

pez 2021-02-02T23:13:16.110500Z

Please let them know in #lsp if you like their work. I certainly do!

seancorfield 2021-02-02T23:20:47.111100Z

You mentioned the calva.hideREPLUi setting -- how do I get to that / update it?

borkdude 2021-02-02T23:25:42.111500Z

@seancorfield maybe like this: https://calva.io/customizing/

seancorfield 2021-02-02T23:27:45.112400Z

Typing Settings doesn't show anything related to Calva -- I already tried that -- so it's not at all obvious where/how I would find or change the setting that @pez mentioned...

seancorfield 2021-02-02T23:28:51.113100Z

Oh, it's just in the Extensions Settings for Calva as a check box. Sorry, I was expecting to find some hidden JSON stuff...

seancorfield 2021-02-02T23:33:14.113600Z

Ah, looks like I need to disable my standalone rainbow brackets extension too.

pez 2021-02-02T23:37:49.114500Z

Few rainbow extensions should be able to match Calva’s anyway. 😃