calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
dnolen 2020-09-03T16:00:33.111Z

is there a way to start a ClojureScript REPL in Calva with just cljs.main options like in Cursive i.e. no nREPL?

pez 2020-09-03T16:14:01.113800Z

@dnolen, currently nREPL is the only way to reach the REPL with Calva. I'm not sure what would be entailed to remove this requirement. But it probably is something we should look into. That, or look into what it would mean to bring nREPL into CLJS...

dnolen 2020-09-03T16:15:51.115300Z

ok, though I really think tooling should work w/ the plain REPLs - nREPL is all fine and it good but it's also the reason you have to write all this explication about how things work

dnolen 2020-09-03T16:16:23.116Z

if Calva worked w/o nREPL then going from Quick Start to Calva requires no transition

dnolen 2020-09-03T16:16:52.116600Z

currently working w/ a new dev that starting to learn ClojureScript - they start w/ the Quick Start

dnolen 2020-09-03T16:17:04.117Z

they like VSCode

dnolen 2020-09-03T16:17:27.117600Z

but in order to get a REPL they have all this other novel stuff put in their face which has no relation to the Quick Start or standard Clojure docs

dnolen 2020-09-03T16:18:49.117800Z

\rant

dnolen 2020-09-03T16:19:42.118300Z

Calva is really nice, and if you understand nREPL etc., everything works great

dnolen 2020-09-03T16:30:46.118900Z

k trying to get the standard Calva Figwheel REPL going - but it won't start because it says I'm not supplying a build

dnolen 2020-09-03T16:30:53.119100Z

but far as I can tell there's no way to do that?

dnolen 2020-09-03T16:36:21.119800Z

ok figured it out after Googling a bit

bringe 2020-09-03T16:55:38.122100Z

Hi @dnolen! If something's unclear in the docs around this please let us know. I agree it would be nice to add the non-nrepl repl support.

dnolen 2020-09-03T16:56:59.124100Z

it took me about 30 minutes to get Figwheel working btw

pez 2020-09-03T16:56:59.124200Z

It's great that you give this tooling aspect attention. And you manage to mention all the reasons that makes me part attention as well. 😀

dnolen 2020-09-03T16:57:09.124600Z

none of this is actually a critique of Calva or Figwheel

bringe 2020-09-03T16:57:17.124900Z

Maybe we can add an issue to start/track this effort, though I don't know if it can be given attention any time soon

dnolen 2020-09-03T16:57:31.125200Z

but I'm just pointing out all the barriers that are currently in place to get a ClojureScript REPL

dnolen 2020-09-03T16:57:37.125900Z

it's very frustrating

dnolen 2020-09-03T16:57:46.126300Z

compared to the Quick Start you don't need anything

dnolen 2020-09-03T16:57:55.126900Z

and you don't need to read docs for 2 other OSS projects

pez 2020-09-03T16:57:59.127100Z

It is supposed to be no time though. So 30 minutes is a failure.

☝️ 1
dnolen 2020-09-03T16:58:50.128Z

right I've used all of these things before, I'd like to think I know what I'm doing but again

dnolen 2020-09-03T16:59:05.128400Z

my experience was read about Calva, remember about nREPL, remember about Figwheel - ok now it works

pez 2020-09-03T17:01:09.130700Z

Please file an issue describing the course of events for you. What you expected and what you didn't expect. It will help us a lot in figuring out how we can lower the barrier for starting with ClojureScript.

☝️ 1
pez 2020-09-03T17:02:28.132Z

We might not be able to fix the nrepl gap very quickly, but there sure seems to some other things we should do.

hoppy 2020-09-03T19:24:47.132700Z

and the crib notes from that would be damn welcome. I was trying that path a week or so ago, and failed because I'm not as smart

dnolen 2020-09-03T19:31:28.133600Z

it's really too many steps and too much information to expect anyone to get through

dnolen 2020-09-03T19:31:44.134Z

tools need to work with simple REPLs to remove all this extra stuff

👍 1
dnolen 2020-09-03T19:33:55.136600Z

expressing a strong viewpoint here because I think simpler VSCode integration would of course be a great thing for onboarding beginners given VSCode's popularity

👍 2
hoppy 2020-09-03T19:34:16.137600Z

I concur. Seems like the gravity wants to pull everything towards clj + deps.edn, which is fine, but that setup might also have a template that says now to use that kit to get nrepl fired up since that of use

dnolen 2020-09-03T19:34:23.137800Z

and again, if you're familiar with nREPL and Figwheel then Calva is already rocking - so it's very close