This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (2)
- # beginners (30)
- # calva (30)
- # cider (10)
- # cljs-dev (4)
- # clojure (59)
- # clojure-nl (2)
- # clojurescript (21)
- # cursive (22)
- # datascript (3)
- # datomic (5)
- # duct (5)
- # figwheel-main (1)
- # flambo (2)
- # fulcro (8)
- # jackdaw (1)
- # joker (9)
- # off-topic (24)
- # pathom (1)
- # re-frame (2)
- # rewrite-clj (4)
- # shadow-cljs (163)
- # sql (14)
- # tools-deps (6)
- # vim (24)
- # yada (3)
Good news. I have just found where one of those blocking bugs; Calva crashing on re-jack-in, happens. I’ll have it nailed soon. Now must make breakfast for four hungry children (and equally hungry self and wife). 😃
Friends! Here’s a New Calva 2 build for you to help test. The most important changes are:
1. Fixes crash bug when jacking in more than once in the same session.
2. Jack-in handles Figwheel Main projects. (At least some projects, same as with the rest of jack-in, there is work left to be done.)
3. There’s now a command for evaluating to a comment. Thanks @vcastro70!
4. The “Calva key” has changed to
ctrl+alt+c. Because it makes much more sense.
I hope it will be easier for you, than it has been for me, to get used to not typing
ctrl+alt+v all the time. To that end, I have added an info toast for when you slip back into old habits.
So, the path to release has one roadblock less. As I mentioned yesterday there are quite a few rough edges with both jack-in and the repl window, that I’d like to fix before release, but I also think we are pretty close to an MLP (not My Little Pony, it’s Minimum Lovable Product) now, and we need to figure out which are the real blockers. Right now I have several weeks behind me of chasing the same blocker and can only think about that one. So this is a call for help. Please, put that jack-in to some tests, file issues you find on Github and let me know how you would triage it. Give the repl window the same treatment. Thanks in advance! ❤️
@pez, how are we coordinating calva/dev against repl-interactor/master. Should we be building the latter locally as well, or how do you keep them in sync for development
So, mechanics first. I have cloned out calva and repl-indicator repos as sibling directories. And have linked the repl-indicator from the calva dir like so:
npm link @calva/repl-interactor ../repl-interactor
To distribute a calva vsix that depends on a new version of repl-indicator, I will need to publish that version to npm. So right now, if you would have changed repl-indicator you would first file a PR there and then I would merge that in, build a new repl-indicator and publish.
I was considering in-sourcing the repl-indicator into calva, but then… Well, it really makes sense as its own project. Maybe there is a better way than via npm to keep the sync? If someone sees it, I’d like to know.
I'd avoid in-sourcing as long as you can - if you ever plan on it standing alone. Yes it answers the question, I was just trying to understand how you lived with it and emulate it.
I’m really interested in the standalone REPL. 😍 calva is doing some really cool work
It could actually become more than a standalone REPL. At its core it is a Clojure code editor. With the right maintainer (which is not me) it could power many things.
Some people hate them (me) for reasons (not good ones) but I think they fit this use case
I think that if it should be kept standalone, then it makes sense that it is a npm module and then we maybe better dogfood it as such.
I’ve seen submodules used and be very helpful in a super large project, so I don’t have something particular against them.
I celebrated fixing that crashing bug with allowing myself to not work on the stdout bug for a day. Instead I altered the jack-in process some. Now it asks for cljs project type instead of figuring it out, because that sometimes took a while and caused confusion. Also now both the clj and cljs repl windows open on their respective successful connect.
^ This changes quite a lot how the jack-in and connection works. People who help test it gain Karma. ^
Is there some way a custom cljs repl can be configured? With a file maybe? I'd like to make calva and edge very smooth.