This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (20)
- # announcements (6)
- # asami (13)
- # babashka (9)
- # beginners (80)
- # calva (53)
- # cider (16)
- # clj-kondo (24)
- # cljs-dev (40)
- # clojure (13)
- # clojure-australia (9)
- # clojure-europe (117)
- # clojure-india (3)
- # clojure-italy (4)
- # clojure-nl (5)
- # clojure-sg (1)
- # clojure-spec (4)
- # clojure-uk (6)
- # clojurescript (6)
- # cursive (41)
- # datalog (5)
- # datomic (11)
- # emacs (9)
- # events (1)
- # fulcro (46)
- # integrant (31)
- # jobs (1)
- # kaocha (1)
- # lein-figwheel (3)
- # lsp (2)
- # meander (3)
- # missionary (4)
- # pathom (6)
- # portal (84)
- # re-frame (3)
- # remote-jobs (1)
- # reveal (2)
- # shadow-cljs (36)
- # tools-build (3)
- # xtdb (17)
Hello Calva friends. Version 2.0.226 has been released. The changes are: • Internal: https://github.com/BetterThanTomorrow/calva/pull/1365 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1374 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1395 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1373 Thank you to everyone who contributed to those changes, whether it was via testing, feedback, code, or any other ways.
I don't think the parinfer experiment is included? The changelog must have still been messy.
The handling for unknown-op commands might start to surface more errors to users that were silently ignored in the past. The most helpful should be that we now get an error saying “the server couldn't handle the test-all command”
The best step there will be to somehow help the user ensure that cider-nrepl middleware is installed.
We should consider checking for cider-nrepl middleware somewhere early in the REPL lifecycle and help the user there. And possibly have a context variable we can check before enabling commands that rely on it.
Btw is there something wrong with https://calva.io/ the wallpaper of the calva logo is massive
If you have cache disabled when the dev tools are showing, that’s one way to load it w/o cache. You can also long-press on the reload button to get options for hard reload.
Hmmmm, but regardless I guess it isn't any issue of calva's. Just the many restrictions my company imposes 😅
Hi, locally it can be nice to connect to running servers. I.e nREPL.Cider for Emacs has a cider-known-endpoints where you can define a list of endpoints (setq cider-known-endpoints ’( (“label1” “host1" “port1”) (“label2" “host2” “port2")) that can then easily be used from cider-connect. Does Calva support something like this yet?
Are there any unit tests in Calva? I’m extracting some of the error message generating code in testRunner.ts and I’m hoping to add a test so that I know that the code behaves the same before and after.
For the TS code there are two kinds of tests, unit and integration tests (actually there is just one integration test). If the tests require
vscode to be imported then the integration tests is what can be used. What I tend to do is factor things so that I can test them w/o
vscode. You’ll find both categories in
If you do add some integration tests, that would be awesome. It has been there for quite a while, but no-one has bothered with adding any interesting tests. They are run in CI, so it is probably good to have a few such tests.
I think that some of the data in this messages could become redundant once we wire up the native Test Explorer.
It’s a common source of confusion. In this particular instance VS Code has the command and Calva provides the mechanics. VS Code does not have a Format Current Form command, though, so that is a Calva command. 😃
Also: If you have the cursor at the top level and issue the Calva: Format Current Form command, the entire buffer will be formatted. ¯\(ツ)/¯
You can enable it, but I think it might be a bit erratic. Iirc VS Code only allows a certain time for it. But I could be wrong.
Dart-Code extension (LSP for Dart/Flutter), has format on save feature, and it's something community really likes, even emacs users (lsp-dart)
Has anyone gotten the portal vscode plugin working with calva? I’ve got a repl started, but when I run
portal/open nothing shows up
@U01EB0V3H39 May also be worth asking in #portal -- I don't know of anyone using nREPL with the Portal extension (I use a Socket REPL) but maybe someone in the Portal channel can help.