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`.
Oliver George 2021-02-07T00:56:05.210100Z

Hi @pez, Hi all. Been thinking about helping potential users to evaluate Calva. Specifically devs who are familiar with other editors. What about a compare/contrast walkthrogh of common use cases. Possibly a set of sort "step by step" videos side by side.

Oliver George 2021-02-07T00:57:38.211600Z

For exampling, setting up CLJS project 1. Cursive (open new project from existing sources, wizard, picking deps.edn, finishing wizard, marking a few folders as excluded from search (target or resources/public/js...) possibly setting project sdk, observing how it looks when it's working) 2. Calva ... (same same but different)

Oliver George 2021-02-07T00:58:05.212200Z

Or setting up a figwheel repl

Oliver George 2021-02-07T00:58:12.212400Z

Or doing some light refactoring

Oliver George 2021-02-07T00:58:47.213100Z

Point being we're so familiar with one editor it's hard to get a feel for how a different one works

Oliver George 2021-02-07T00:59:32.213700Z

Seems like it could be a fun "team up" project. Find an authority on another editor and work together on it.

bringe 2021-02-07T01:17:10.214Z

That's awesome!

bringe 2021-02-07T01:27:59.218900Z

Hey @olivergeorge. Video tutorials are something that's been on my mind as well. This is a neat idea. I wonder if it would be wise to first just make videos explaining the processes/features in Calva, then use that footage to splice into comparison videos. I do think that purely Calva instructional videos would be good to have. :thinking_face:

Oliver George 2021-02-07T03:27:55.219800Z

Sounds like a good idea.

Oliver George 2021-02-07T03:28:13.220300Z

That reminds me of Cursive's User Guide. It makes great use of animated gifs... https://cursive-ide.com/userguide/paredit.html

bringe 2021-02-08T21:21:27.251900Z

Calva docs have something similar here: https://calva.io/paredit/ - maybe you saw this.

Oliver George 2021-02-09T00:14:53.253400Z

nice

pez 2021-02-07T07:53:07.223600Z

@olivergeorge that sounds super excellent. I saw that @tony.kay has started a Grokking Fulcro video series. Haven’t looked at it yet, beyond noticing that it looked like IntelliJ was used there. I doubt he shows how to set it up, but if he does, maybe it’s a good start for this, where we show how to set it up in Calva. Fulcro, with shadow-cljs is a bit extra nice in Calva, as it happens. 😃

pez 2021-02-07T13:43:06.224Z

And also you, dear Calva friends. 😍

ej 2021-02-07T21:12:15.226Z

Hello! What VS Code themes are you using with Calva? :)

pez 2021-02-07T21:16:42.226600Z

@endrejoh I am mostly using GitHub Dark nowadays.

👀 1
pez 2021-02-07T21:22:13.229400Z

Can’t wait to release this upgrade of Paredit Drag sexpr forward/backward. This drag-pairs thing works in maps as well. Right now I have these binding forms covered: • letforloopbindingwith-local-vars Which one have I missed?

pez 2021-02-07T21:38:07.230200Z

Here’s a VSIX with that pair-dragging. Please help me test it, Calva friends! https://11169-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.168-529-drag-binding-pairs-f45c0f2b.vsix

pez 2021-02-07T21:58:29.230800Z

This is wonderful praise from the creator of Cursive ❤️ https://www.reddit.com/r/Clojure/comments/ldiafr/we_created_and_maintain_calva_ask_us_anything/gmidys7/

❤️ 3
ej 2021-02-07T22:02:49.233800Z

I am just getting started with Calva (and Clojure in general), but so far I find the default key bindings to be easier to remember, at least compared to Cursive.

❤️ 2
seancorfield 2021-02-07T22:07:13.234300Z

I'm still just using the default Dark+ theme.

☝️ 1
borkdude 2021-02-07T22:57:57.235Z

Maybe a stupid question, but does "dragging" mean you have to use a mouse?

pez 2021-02-07T23:11:23.238200Z

No mouse. It's paredit commands. There are commands that let you ”drag” forms in and out of other forms, and then the ones shown in the gif, where forms are ”dragged” through other forms.

borkdude 2021-02-07T23:15:51.238700Z

I've never seen a paredit command in emacs with this name...

pez 2021-02-07T23:24:37.240300Z

Might be named something else there. The inspiration here comes from Cursive (and I don't know what it's called there either 😀).

pez 2021-02-07T23:25:56.241300Z

I call it dragging, because that it what it feels like when using them.

seancorfield 2021-02-07T23:48:53.242300Z

It looks really useful -- I had seen in the command palette but hadn't actually tried it out and, yeah, dragging the binding symbol and the expression together def. makes sense.

Cris B 2021-02-07T23:56:00.245100Z

I use the drag commands quite a bit. Very useful, and keeping the binding pairs together is a very nice addition (working well for me so far @pez). There was chat a few days ago about keyboard shortcuts within comments. What was the upshot of that - is there actually a way to lose the paredit bindings in comments and strings (eg. on Windows - to keep ctrl + left/right for wordwise cursor movement).