This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-09
Channels
- # announcements (16)
- # babashka (28)
- # beginners (27)
- # calva (39)
- # chlorine-clover (6)
- # cider (8)
- # clara (28)
- # cljs-dev (19)
- # cljsrn (22)
- # clojure (78)
- # clojure-australia (3)
- # clojure-europe (64)
- # clojure-nl (3)
- # clojure-norway (14)
- # clojure-spec (2)
- # clojure-uk (11)
- # clojurescript (11)
- # core-async (24)
- # datomic (3)
- # deps-new (5)
- # emacs (9)
- # fulcro (4)
- # gis (2)
- # graalvm (9)
- # honeysql (2)
- # hoplon (5)
- # instaparse (1)
- # introduce-yourself (5)
- # jobs (5)
- # luminus (4)
- # observability (7)
- # off-topic (6)
- # pathom (18)
- # pedestal (5)
- # polylith (4)
- # re-frame (2)
- # reagent (1)
- # reitit (1)
- # remote-jobs (7)
- # shadow-cljs (47)
- # specter (1)
- # sql (27)
- # testing (6)
- # tools-deps (4)
- # vim (3)
- # xtdb (8)
Hi. Assume that I want to send some information to the CIDER REPL before every evaluation. More concretely, I want to extend CIDER so that it will send to the REPL process the whole contents of the currently edited buffer (as a String), just before any piece of code is evaluated. • Is it a bad idea for some reason? • Is there a hook for doing something before every evaluation? (couldn't find one)
That sounds like you’re typing into the repl buffer instead of typing into the file buffer which is usually recommended
Thanks @U06BE1L6T! I'm typing into the file, but want the REPL to know about the exact file contents.
Oh, I need to create an up-to-date html page that shows the code of the whole namespace, every time we the user evaluates anything (working on the next version of the Notespace tool).
I don't think there's a hook for this, but there's some functionality that auto-evals the ns
form before eval, that you can potentially copy/extend for your purposes.
Thanks @bozhidar! I'll look.