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
mauricio.szabo 2019-09-13T00:42:44.217200Z

Does kondo, or joker, works if you add then to your classpath so you can lint using a command inside the REPL?

seancorfield 2019-09-13T00:47:55.217600Z

linter-joker works automatically when you load a file or change a file.

seancorfield 2019-09-13T00:48:15.218100Z

It runs the joker command-line tool to check your code.

seancorfield 2019-09-13T00:48:50.218800Z

I assume linter-kondo works the same way (since clj-kondo is a fast command line tool)

borkdude 2019-09-13T06:42:31.220Z

Correct (although kondo can run as a JVM dep as well)

borkdude 2019-09-13T06:49:25.221400Z

Btw you can multiple linters if you want, I still have joker hooked up in Emacs.

borkdude 2019-09-13T06:50:18.222600Z

But clj-kondo doesnโ€™t run as a binary on Windows (it may work in WSL2?)

2019-09-13T11:10:50.223200Z

yep, linter-kondo just runs on every change if you want.

2019-09-13T11:11:06.223400Z

it's so fast that it basically runs live.

2019-09-13T11:11:22.223700Z

i'm using kondo with both vscode and atom.

borkdude 2019-09-13T13:44:19.224600Z

@mauricio.szabo I didn't see your message yet. clj-kondo supports both modes: run as a binary or use as a Clojure library and invoke it however you want, using a script or from the REPL

borkdude 2019-09-13T13:45:13.225600Z

currently there aren't any off the shelf clojure-mode / Emacs integrations for it that I know of that leverage the JVM option, but I don't see why that wouldn't work

mauricio.szabo 2019-09-13T13:53:48.226900Z

Thanks @borkdude. I'm really with lots of ideas on how to integrate multiple tools in a same library, so this is great news for me ๐Ÿ™‚

2019-09-13T15:43:32.230100Z

I'm a pretty heavy cursive+parinfer user and playing around with chlorine. One of my most common editting tasks is selecting a sexp, and moving it around. I don't use paredit stuff (yank, barf, shove, vomit, whatever :)). I just use cursive's ctrl-w /ctrl-shift-w to expand/contract the selection by form and ctrl-x. I'm wondering if there is a chlorine equivalent to expand / contract selection by form.

mauricio.szabo 2019-09-13T15:45:21.231700Z

No, this is outside Chlorine's responsibilities. The idea is just to evaluate code, and integrate some middlewares like autocomplete, refactoring (still to be done), goto var definition, etc

2019-09-13T15:47:10.233300Z

Ah. I saw that Atom has an expand/shrink selection by syntax node. I looked around for an Atom package that mapped explained lisp syntax to Atom but couldn't find one that supported the expand/shrink. Any guesses what it might be?

mauricio.szabo 2019-09-13T15:47:48.233900Z

I use lisp-paredit to do it

2019-09-13T15:48:28.234300Z

Great. I'll try that

seancorfield 2019-09-13T15:59:54.236100Z

@mark340 FWIW, I have both lisp-paredit and parinfer installed in Atom -- plus a few extra paredit-style commands in my init.coffee file (see my atom-chlorine-setup repo). Sometimes parinfer interferes with lisp-paredit's copy'n'paste tho'...

2019-09-13T16:00:51.236200Z

I was actually just applying your customizations. I'm going to play around with lisp-paredit later today.

1
2019-09-13T16:00:56.236400Z

Thanks

seancorfield 2019-09-13T16:02:03.236700Z

Feel free to DM me if you have any Qs about them!

๐Ÿ‘ 1