This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-10
Channels
- # announcements (1)
- # apache-kafka (1)
- # beginners (61)
- # bigdata (1)
- # brompton (3)
- # buddy (1)
- # calva (18)
- # clara (2)
- # clj-commons (1)
- # clj-kondo (21)
- # cljs-dev (2)
- # clojure (32)
- # clojure-europe (10)
- # clojure-filipino (4)
- # clojure-france (2)
- # clojure-italy (5)
- # clojure-nl (4)
- # clojure-spec (28)
- # clojure-uk (14)
- # clojurescript (6)
- # conjure (1)
- # cursive (5)
- # data-science (1)
- # datahike (2)
- # datomic (9)
- # emacs (4)
- # esprit (17)
- # fulcro (14)
- # jobs (1)
- # jobs-discuss (18)
- # lsp (1)
- # malli (27)
- # msfs2020 (22)
- # off-topic (7)
- # pathom (3)
- # portal (1)
- # re-frame (23)
- # reagent (4)
- # reitit (1)
- # remote-jobs (1)
- # shadow-cljs (5)
- # sql (11)
- # tools-deps (77)
- # vim (19)
I don't like the way calva's 'clear inline evaluation results' default keyboard shortcut overrides the use of ESC to cancel regular selections (the latter is burned into my muscle memory). I wasn't able to find a keyboard shortcut 'when' clause to distinguish the two, so for now I've just changed the calva one. Ideally though I'd like to use ESC for both. Does anyone know a way to do this?
Cancelling a text selection by hitting escape. In vs code command terms I think it's editor.action.cancelSelectionAnchor
I see. I only use it with multiple cursors. For a single selection my muscle memory tells me to use the left/right keys. In any case, this needs to be solved in Calva, I think. It's pretty easy, I also think. Please file an issue about it.
Is there a way to truncate long lists or vectors when printed in the output-file window?
@agold, you can use pprint settings, but there is no per-eval way of doing it: https://calva.io/pprint/
There is a pprint toggle button to the right of the status bar. And a command with a shortcut for it. Maybe we should consider making it a cycle through a list of settings…
Anyone has experience with WSL2 and Calva? Calva can get some nice PR from @borkdude if the WSL2 story is good. https://twitter.com/unixterminal/status/1292834002165006338
I’m using Calva on WSL2. No problems with Calva per se. My only problem was connecting to the shadow-cljs server owing to networking changes between WSL1 and WSL2. Solution was to apply the script in WSL2 issue #4150: https://github.com/microsoft/WSL/issues/4150
@agold I've also used this script: https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723 for forwarding SSH, nREPL, etc, etc. so I can connect even from other machines. May I ask if you're editing the files in VSCode via the WSL network share?