This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-08
Channels
- # announcements (1)
- # babashka (28)
- # beginners (13)
- # calva (10)
- # clerk (18)
- # clj-on-windows (39)
- # clj-otel (1)
- # cljdoc (17)
- # clojars (12)
- # clojure (40)
- # clojure-austin (11)
- # clojure-brasil (1)
- # clojure-europe (23)
- # clojure-nl (3)
- # clojure-norway (16)
- # clojure-uk (2)
- # clojurescript (28)
- # clr (4)
- # conjure (1)
- # emacs (14)
- # hoplon (6)
- # hyperfiddle (59)
- # interop (2)
- # leiningen (1)
- # off-topic (37)
- # pathom (1)
- # polylith (5)
- # portal (7)
- # reagent (9)
- # releases (3)
- # shadow-cljs (22)
- # spacemacs (6)
- # tools-build (12)
- # tools-deps (51)
- # web-security (6)
- # xtdb (7)
morning 👋 I’ve long been wanting to provide clerk instructions for setting up a clerk-show command in calva and got a https://github.com/nextjournal/clerk/pull/393. There’s two remaining questions that I’d appreciate help with:
• how can escape backslashes (https://github.com/nextjournal/clerk/pull/393#issuecomment-1439805607) in a custom repl command with the snippet "(nextjournal.clerk/show! \"$file\")"
• on emacs I have clerk show bound to option
+ enter
(macOS). Wondering if that’s also a good idea to have a keybinding on calva or would that violate users expectations?
The backslash problem needs to be fixed in Calva, I don’t think there’s a way to fix it for an end user as things are now…
and option + enter seems to be taken by calva already, so certainly that’s not a good binding to use. Any other suggestions for something similar to eval form that’s still free?
it seems they’re local to the custom repl command shortcut only. Is there a way to set up a repl snippet with a global shortcut?
Custom Snippet commands get default keybindings if you provide a key:
. There are also ways for the user to bind “real” shortcuts: See https://calva.io/custom-commands/#binding-keyboard-shortcuts about this. There is no way to configure the “real” shortcuts in the workspace, afaik.
Dear Calva friends. I introduced a regression with connecting shadow-cljs REPLs with v2.0.356. I’ve fixed it in https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.358, please upgrade!
• Fix: https://github.com/BetterThanTomorrow/calva/issues/2185
• https://github.com/BetterThanTomorrow/calva/issues/2184
I’m sorry for the inconvenience this caused you. It was a stupid mistake with me hardcoding a thing and it Worked on My Machine… In this release also a fix for an old problem that I haven’t been aware of until today. ^That^ problem with $file
path substitutions in custom command snippets not working on Windows. Thanks for reporting, @mkvlr!