This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-15
Channels
- # announcements (8)
- # architecture (9)
- # autochrome-github (1)
- # babashka (48)
- # beginners (55)
- # calva (36)
- # cider (16)
- # clj-commons (1)
- # clj-kondo (38)
- # cljs-dev (44)
- # cljsrn (1)
- # clojure (164)
- # clojure-europe (35)
- # clojure-nl (2)
- # clojure-norway (10)
- # clojure-uk (23)
- # clojurescript (50)
- # conjure (24)
- # core-async (1)
- # cryogen (2)
- # cursive (38)
- # datalevin (11)
- # datascript (2)
- # datomic (13)
- # duct (1)
- # emacs (16)
- # events (12)
- # exercism (3)
- # figwheel-main (7)
- # fulcro (26)
- # honeysql (5)
- # integrant (1)
- # jobs (3)
- # kaocha (6)
- # lsp (72)
- # malli (22)
- # nextjournal (35)
- # nrepl (1)
- # off-topic (34)
- # pathom (5)
- # polylith (8)
- # portal (40)
- # re-frame (14)
- # reagent (42)
- # reitit (1)
- # releases (1)
- # remote-jobs (1)
- # reveal (9)
- # sci (2)
- # shadow-cljs (13)
- # sql (3)
- # tools-deps (33)
- # vim (25)
Regarding the testing functionality, I now see a whole bunch of tests on the sidebar, which is nice đ
It would be nice when you do a command like "Run tests for current namespace" to clear the green checkmarks though, since the tests are now "pending". (Same for the gutter indicators)
If you could create an issue and tag @U0K592YDP that would be great.
As it is, I still have to open the REPL output and wait for the ; 11 tests finished, all passing :+1:, ns: 1, vars: 3
message
Hi! My Calva stopped aligning map key/value pairs since yesterday (it could be before but I noticed yesterday). When I hit ctrl+alt+l
it seems like its aligning, however, when I save the file (I have format on save true in VSCode settings), the alignment is not applied. Also, pressing tab
used to align map key/value pairs but itâs not aligning anymore.
I see https://calva.io/formatting/#configuration it is mentioned that this feature is experimental. However, it was working with tab or saving file until yesterday.
Can't believe you dare run with it on đ It behaves kinda crazy at times. ctrl+alt+l
is much safer.
Right now there are no plans to fix the quirks. It's a lot of work. What is a better tag than âExperimentalâ? > âQuirkyâ?
I just noticed it is experimental. I have been trusting Calva to fix the alignment of map key/value pairs for months when I save a file.
Is there a way to roll back to an earlier version of Calva on VSCode?
Found it. 2.0.241
seems working as before
I mean, I use Calva generally for frontend code, and I thought it was normal to just cmd+s
save a file and Calva aligns all the maps.
Yeah, Iâve been convinced some months ago đ. Although, I couldnât make the switch for the backend yet.
Iâve tried once and spend couple hours to get my development environment work on Calva but couldnât manage it. I remember there were some things that didnât work when running the tests. It could also be that I couldnât figure it out how đ. Then, I didnât have time to give it a go again.
It just works on Cursive and I leave it like that. We switched to Calva for frontend when we made the switch to Clojurescript, as it was a green field project. Also, other team members were familiar with VSCode but not with Intellij
I hope Iâll have time one day to do that switch đ
Do you mean the test problem?
Iâm confused, sorry, just to clarify, are we talking about the problem with Calva fixing the map key/value pairs alignment, or the problem that I faced with tests when I tried the backend project?
If itâs the test problem with the backend, I donât remember what it was, but It could also be something that I misconfigured. I canât say it was a problem caused by Calva or not.
Sorry for confusing you. I'm talking about the test problem. You said it just works in Cursive, and that makes me think it is a Calva problem. Assuming that your project is a Polylith project, I was thinking it might be general for Polylith.
Yes, it is a Polylith project. I should probably try Calva with Realworld project and see if it is something specific to our setup or a generic issue.
I wonât open an issue before I validate there is a problem with Calva đ. Iâve opened an issue already for the map aligning.
Is there a paredit or calva command for unwrapping a form? Got used to working with that one a lot in emacs
Hi there! Thanks for creating the Calva logo. It makes such a huge difference for the product!

Is it Splice Sexpr you're looking for, maybe? https://calva.io/paredit/#editing