Fork me on GitHub
#emacs
<
2016-11-27
>
richiardiandrea18:11:11

Summoning @ewen 🙂 he has developed a clj+cljs mode + tooling that is interesting to know more about!

ewen18:11:13

thx! please give me feedback if you try it out 🙂

rmuslimov19:11:11

@ewen may I ask dumb question - is it cider alternative? What differs replique.el from cider? thanks,

richiardiandrea20:11:10

always interested in alternatives, what are "The Cool Features" of replique I should absolutely try 🙂 @ewen

ewen21:11:16

@richiardiandrea easy to setup clojurescript repl (no configuration needed)

ewen21:11:16

loading cljs files works just like in clojure, no file watcher needed

richiardiandrea21:11:31

interesting, are you using tools.namespace for that, I mean, there must be a watcher right?

ewen21:11:45

js file are written to disk, everything works across browser refresh, unlike the raw cljs repl (see http://dev.clojure.org/jira/browse/CLJS-1300)

ewen21:11:12

autocompletion works in cljs and cljc

ewen21:11:23

eldoc style documentation works in cljs and cljc

ewen21:11:33

jump to definition works in cljs and cljc

richiardiandrea21:11:12

very cool, there was some talking around tooling just a bit ago on #clojurescript

ewen21:11:14

when i say cljc, i mean files are loaded both in the clojure runtime and the clojurescript runtime, and tooling stuff is aware of reader conditionals

richiardiandrea21:11:31

@ewen that's a killer feature indeed

ewen21:11:40

css reloading

ewen21:11:42

js reloading

ewen21:11:08

i had sass reloading also but i'm heading towards a custom css preprocessor now for better integration

ewen21:11:42

no i don't use tools.namespace

ewen21:11:38

no there is no file watcher, when you reload cljs file, it is compiled to disk and sent to the browser

ewen21:11:56

just like clojure.core/load-file, with the difference that a js file is written to disk because of the possibility for the browser to be refreshed

richiardiandrea21:11:13

@ewen sounds awesome, I'll have a go, you convinced me 👍

ewen21:11:33

great 🙂

ewen21:11:46

tell me if you encounter installation issues, I guess nobody tried replique yet beside me 😛