This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-21
Channels
- # admin-announcements (1)
- # announcements (6)
- # babashka (8)
- # beginners (134)
- # calva (18)
- # chlorine-clover (1)
- # cider (6)
- # circleci (6)
- # clj-commons (111)
- # cljsrn (13)
- # clojure (95)
- # clojure-australia (2)
- # clojure-europe (15)
- # clojure-nl (1)
- # clojure-spec (52)
- # clojure-uk (17)
- # clojurescript (4)
- # datavis (9)
- # datomic (8)
- # docker (2)
- # emacs (15)
- # events (7)
- # fulcro (6)
- # graphql (1)
- # gratitude (1)
- # introduce-yourself (2)
- # kaocha (8)
- # meander (87)
- # minecraft (2)
- # music (2)
- # off-topic (20)
- # portal (119)
- # releases (1)
- # reveal (55)
- # shadow-cljs (34)
- # sql (36)
- # tools-deps (9)
- # vim (8)
- # xtdb (39)
Hi all, is there a way to evaluate a form at a bookmark? I have a common workflow of tweaking a form elsewhere in the file or a different file, and needing to jump back somewhere and then eval from the caller. Something similar to what conjure does?
Hi @U0ETXRFEW, sure. What you can do is set a bookmark using common vim bindings, and then you can do something like e(eval) +m(mark) + the key you bookmarked
- This will eval and send to the output buffer but not move you away from the current cursor location.
I feel it’s similar to how you can have shortcuts snippets in calva when pressing ctrl + command + space - only the ones in conjure are much more ephemeral. Now that I think about it, is there a way to update those snippets in calva dynamically without editing the snippet script?
I was also thinking it is similar to snippets. Maybe there is a way we can make it easy to register a snippet w/o editing settings…
Yeah that would be great @U0ETXRFEW
Hi, I'm setting up a 'calva mode' on my keyboard for the common paredit commands. They're all working great except slurp/barf back. following http://calva.io these should be ctrl+alt+shift+left/right arrow. I can't see that using these combinations does anything. Any idea what I might be missing? I'm on Ubuntu Linux
Hm, I'm not seeing anything on those either. Though I can see those are the slurp/barf forward commands on Windows/Mac
Apparently I can just change them in the editor. C+A+S+,/. like the forwards seems to work OK
I can only guess that something else is bound to that and wins over Calva. Probably outside VS Code.
Hi there, I was wondering if there is a way to get the repl to be at the bottom of the screen rather than as an editor? Also is there a way to get a full stack trace? When I press on the Print Stack trace it never references any of the lines in my code?
The output window is an editor and can only be placed where editors can be placed. Have you tried having it in the same group as your code files? There’s a command for opening it and the same command brings you back to the code file.
I don’t think we filter the stacktrace. If you compare it to what Clojure prints, are there things missing?