This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-30
Channels
- # adventofcode (18)
- # beginners (27)
- # boot (5)
- # cider (3)
- # cljs-dev (2)
- # cljsrn (1)
- # clojure (78)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-uk (1)
- # clojurescript (11)
- # css (1)
- # cursive (11)
- # data-science (6)
- # datascript (3)
- # datomic (3)
- # emacs (24)
- # graphql (1)
- # hoplon (2)
- # off-topic (1)
- # om (8)
- # onyx (1)
- # portkey (11)
- # re-frame (18)
- # ring (5)
- # ring-swagger (1)
- # shadow-cljs (1)
- # sql (5)
- # testing (1)
is there a button i can press that evaluates the current form in the REPL, and then sends the result back to the editor window?
i’m missing the vocabulary to describe this but it seems like common functionality, i think i’ve seen emacs people do it
like, i want to write (+ 2 2) in my editor, put the cursor in there, press some keybind, and then have the (+ 2 2) go away and be replaced by 4
right now i can accomplish this with copy/paste from the repl window, but it can get hairy if i have a big data structure, and i feel like this is probably a solved problem
@jrheard the action is called "Send top form to REPL"
on a Mac it's Cmd+Shift+P; so I'm guessing on other platforms it's Ctrl+Shift+P
hm, i’m on a mac and for me, that command does indeed cause (+ 2 2) to execute in the REPL - but i’m saying that i’d like to have the (+ 2 2) in my editor window be replaced with the resulting 4, and i don’t believe that this command does that
oh! sorry
yeah, I can't find such a feature