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-26T14:57:28.127900Z

Just published some small fixes on version 0.2.1. Probably the ClojureScript bug is fixed. I still want to make more tests (specially with the :browser target) πŸ™‚

πŸ‘ 1
sparkofreason 2019-09-26T18:49:27.130Z

When I enter something bad directly into REPL being used by Chlorine, I get the sort of error shown here, which includes some useful information like "Unable to resolve classname". Doing an eval from chlorine, though, shows a clojure.lang.Compiler$CompilerException with a generic syntax error message and line/column number (didn't paste it here, as Slack mangled the formatting). New to chlorine, so not sure if that's something with the new version or if it has always been that way.

henrik 2019-09-26T18:58:23.130300Z

This can happen if you’re in a CLJS namespace and your preferences are set to evaluate CLJ or vice versa.

sparkofreason 2019-09-26T19:05:37.130600Z

I assume that is the "Should we evaluate Clojure or ClojureScript" setting? It was set to prefer-clj, I put it as clj, same behavior.

mauricio.szabo 2019-09-26T19:10:11.130800Z

@dave.dixon I'll open an issue, I'm seeing this behavior too.

πŸ‘ 1
sparkofreason 2019-09-26T22:34:35.133600Z

Weird one: several times now, after typing a colon, atom will crash. I think it's happening when the colon is entered in front of some other text. Haven't found a consistent repro case. The window goes white and I get a popup with the options to restart or exit. Are there error logs for the package written someplace? Since it seems to be related to clojure keywords, perhaps it's something do with completion?

mauricio.szabo 2019-09-26T22:38:05.133700Z

Probably... I'll look at this issue too (I already have a fix for the other one). I keep forgetting that Atom's autocomplete is kinda aggressive and it'll try to autocomplete on every keyword (I use a keymap to trigger autocomplete).

mauricio.szabo 2019-09-26T22:38:23.133900Z

Are you having this issue on Clojure files, or on ClojureScript?

sparkofreason 2019-09-26T22:39:21.134100Z

Clojure

mauricio.szabo 2019-09-26T22:41:09.134300Z

Okay, I just found that if I type L and delete it, it'll trigger this problem 😞

mauricio.szabo 2019-09-26T22:44:05.134500Z

Atom allows Autocomplete with "0" characters to trigger it, so that's one of the issues (I probably didn't check this)

seancorfield 2019-09-26T22:53:47.134900Z

Ah, that explains something very weird that happened to me the other day (it's happened exactly once and I pressed space too fast to even see the popup!).

mauricio.szabo 2019-09-26T22:57:37.135100Z

Yes, I've just tested here and indeed the error exists. I'll push a fix right now πŸ™‚

πŸ’― 1
sparkofreason 2019-09-26T23:08:04.135300Z

Awesome, thank you!

seancorfield 2019-09-26T23:12:50.135600Z

You rock @mauricio.szabo!

mauricio.szabo 2019-09-26T23:22:03.135800Z

Oh, thanks a lot πŸ™‚

🀘 2
sparkofreason 2019-09-26T23:26:06.136400Z

Nice!