Kudos @mauricio.szabo! It looks good! The flexiness is fixed π
I get this interesting phenomenon though: it seems to reinsert the prompt for every character I type (this is a CLJS document). It doesnβt seem to have anything to do with prefer-cljs/prefer-clj.
I think this can be an autocomplete issue. I think I found the problem (it's the same problem that when you ask for documentation for a var in ClojureScript it renders differently on the inline results and on the console), but I'll check here if its the same issue
Also, glad to see that I'm not the only one using Atom to develop ClojureScript π
@henrik just landed a (possible) fix for this issue: https://github.com/mauricioszabo/repl-tooling/blob/master/test/repl_tooling/integration/clojurescript_ui.cljs#L175-L179. I'll publish a new version today. I'm just solving the font size (and family too!) issue
Cool! Iβll try it out and let you know π
To be fair, the font issue is easily fixed in the user stylesheet. I just thought it might be surprising to newcomers.
Yes, it is surprising. The problem is that there's no documentation on these "dynamic styles" (or if there is, is really hidden)
I think that Chlorine is now very user-friendly and production ready, so these "surprises" need to be fixed too π
Also, font-size seems a bit excessive to me. Iβll fix this myself, but is there any reason not to follow the font-size set in editor preferences?
No, there's no reason other than I probably missed that property :). As for the prompt, it's probably some issue with the autocomplete in ClojureScript. I'll look at it, the problem with working with socket REPL is that there are a lot of small things that need attention