This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-14
Channels
- # announcements (4)
- # aws (7)
- # babashka (44)
- # beginners (178)
- # calva (15)
- # cider (3)
- # clj-kondo (15)
- # clojure (139)
- # clojure-dev (8)
- # clojure-europe (2)
- # clojure-italy (2)
- # clojure-losangeles (9)
- # clojure-nl (32)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (27)
- # clojurescript (17)
- # core-typed (116)
- # cursive (26)
- # data-science (1)
- # datomic (14)
- # duct (16)
- # emacs (9)
- # events (1)
- # fulcro (47)
- # jobs (3)
- # juxt (6)
- # keechma (2)
- # malli (59)
- # mid-cities-meetup (8)
- # off-topic (32)
- # pathom (5)
- # reagent (2)
- # remote-jobs (4)
- # rewrite-clj (16)
- # shadow-cljs (14)
- # spacemacs (9)
- # sql (27)
- # tools-deps (37)
- # vscode (7)
hi. how can i set calva to display inline eval results in the code block, not only in the repl window? can't seem to find it anywhere..
VS Code doesn't really allow for showing it there. But it is printed in two places. One is the output channel Calva says , the other is in the hover of the evaluated code. So if you hover on that (or just hit cmd+k cmd+i
, you'll see the results in the hover. The hover is scrollable and there is a Copy link at the top. The link gives no feedback, but itactually copies the evaluated results to the clipboard.
@U0ETXRFEW Perhaps I illustrate it with Calva docs : ) In the screenshot you the result evaluated inline, see last line, starting with ==>
This is what i'd like to toggle on my systems
@U96LS78UV This is done with the "Evaluate current form" and "Evaluate current top level form" commands
Otherwise, I'm not sure what you mean, but in the screenshot you posted that is how that is achieved
Not really ) I don't get evaluation results inline at all. The text block is highlighted, but no result is displayed inline (the result is displayed in the repl window alright)
It is different commands for evaluating inline and evaluating to the repl window. It looks like you are using the command for evaluating to the repl window.
yes, this is the one! my shortcuts evaluate to repl and I am so used to Atom's doing both I never realised it's two seperate commands : ) thanks!