This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-03
Channels
- # announcements (3)
- # beginners (114)
- # calva (42)
- # cider (90)
- # clj-kondo (3)
- # cljsrn (6)
- # clojure (40)
- # clojure-conj (4)
- # clojure-dev (3)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojure-nl (4)
- # clojure-quebec (1)
- # clojure-spec (3)
- # clojure-uk (130)
- # clojurescript (31)
- # cursive (3)
- # data-science (3)
- # datavis (1)
- # datomic (5)
- # dirac (3)
- # fulcro (16)
- # jobs (1)
- # joker (6)
- # music (5)
- # off-topic (14)
- # re-frame (19)
- # remote-jobs (8)
- # shadow-cljs (37)
- # slack-help (4)
- # tools-deps (22)
- # xtdb (8)
Hi I'm having an issue with Calva, how can I select text output from a function called in the REPL? The cursor and shortcuts are very different, I guess because of paredit?
Sorry I'll take a screenshot to demonstrate
Thanks for your patience 🙂
So I run a function, get a string return, I want to select it and copy the text, but I think my keyboard shortcuts have collided, I can't right click to get a context menu etc
Oh, wait, it seems to be working now
my bad sorry! ¯\(ツ)/¯
There is also a command for copying the result of the last evaluation: ctrl+alt+c ctrl+c
. FYI.
Ah thanks that might be useful 🙂
I'm not used to paredit / structural editing, I'm used to standard text, so I find the REPL quite confusing still wrt keycombos
Yes, that is threshold. I tend to use mostly normal editing spiced up with these paredit commands:
• Expand selection: ctrl+w
(should probably be moved to vscode’s expand selection feature, but Calva’s predates that one a lot)..
• Slurp forward: ctrl+right
.
• Barf forward: ctrl+left
.
If you’re on a mac the slurp and barf default shortcuts might conflict with mission control. The README has a section about that.
@maxp: you should get a prompt with a list of the aliases from deps.edn to choose from, when you Jack in. Ain’t happening?
I see the prompt and choose my alias but still Executing task: clojure -Sdeps '{:deps {nrepl
We should probably say something about this in the README. It is standars vscode UI, but people trip on it.
When I press Enter in the middle of the line cursor moved down and jumps back on the same line. How to disable this behaviuor?
Dear Calva-friends: Calva Jack-in is about to get a fresh-up, adding something we have named Connect Sequences. @slack1038 and I have been cooking on this feature quite some time and now we need your help with testing both that it doesn’t break things that previously worked and that it indeed works in delivering the new feature(s). You can read about how this is supposed to work here: https://github.com/BetterThanTomorrow/calva/issues/282
