Fork me on GitHub
#calva
<
2019-01-03
>
manas_marthi14:01:14

How do I check if my calva is updated?

lspector17:01:26

Will VS Code/Calva work for Clojurescript development? I've been using it for Clojure lately but am entirely new to Clojurescript and I'm looking for the best way to do that.

pez17:01:10

@lspector, depends on what kind of Cojurescript development. Fighweel and shadow-cljs is supported. self hosted cljs does not get any REPL support from Calva.

pez19:01:48

@manas.marthi you can click on Calva in the extensions list and it will open the entry from the Marketplace, telling you what version is published there.

lspector21:01:40

@pez thanks! Being new to Clojurescript though, I'm not yet sure what all of this means. I think I understand the figwheel part (that I can add something to my project that'll make my browser automatically reload code when I save files), but does your REPL comment mean that if I was just working with Clojurescript then I wouldn't be able to get a REPL in VS Code/Calva?

lilactown23:01:44

@lspector if you’re building a browser-based app, you’ll be able to use VS Code + Calva just fine

lilactown23:01:01

“self-hosting” is a much more advanced thing than most people’s uses. it means you’ll be executing ClojureScript code in your application, not just compiling it to JavaScript. few applications actually need to execute arbitrary clojure code read from an external source

lilactown23:01:12

figwheel and shadow-cljs are developer tools for doing a lot of the common things you’ll want to do. you’ll probably pick one or the other

lilactown23:01:35

both of them make it super easy to connect to your browser application and get a REPL in VS Code while developing

lspector23:01:38

Thanks @lilactown! With your comments and now seeing the Clojurescript stuff at https://github.com/BetterThanTomorrow/calva/wiki/Getting-Started I think I may be in good shape. I'll try soon!

👍 3