This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-14
Channels
- # announcements (3)
- # aws (7)
- # babashka (108)
- # beginners (222)
- # bristol-clojurians (3)
- # calva (8)
- # chlorine-clover (1)
- # cider (14)
- # clj-kondo (4)
- # cljdoc (6)
- # cljs-dev (89)
- # cljsrn (13)
- # clojars (6)
- # clojure (89)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojure-italy (9)
- # clojure-losangeles (11)
- # clojure-nl (6)
- # clojure-spec (2)
- # clojure-sweden (1)
- # clojure-uk (9)
- # clojurescript (47)
- # conjure (18)
- # datomic (7)
- # docker (1)
- # figwheel (43)
- # figwheel-main (2)
- # fulcro (31)
- # kaocha (3)
- # leiningen (7)
- # luminus (2)
- # nrepl (14)
- # off-topic (24)
- # pathom (5)
- # pedestal (5)
- # rdf (4)
- # re-frame (49)
- # reagent (12)
- # reitit (9)
- # rum (21)
- # shadow-cljs (109)
- # tools-deps (35)
- # vim (8)
- # wasm (1)
Does nREPL have a feature that would let me do something like this?
send-> {:op "eval" :code "(+ 1 2)" :my-thing/silent? true}
<-recv {:value "3" :my-thing/silent? true}
My use case is that I want to eval an entire namespace, but I don't want to flood the REPL output with the names of every var that gets defined. Instead, I'd like to just show something like "Loading my.awesome.ns…".
I know I can do it by keeping track of the IDs of the ops I'm sending, but I'm just wondering whether there's something simpler I could do.The documentation suggests that :id
is the only datum that's the same in the request and the response, so I think I'll just use that.
as bozhidar said, nothing built in, and this is probably way easier to do on the client side than server
I'm building my own: https://github.com/eerohele/tutkain
Well, it's got potential. With https://github.com/snoe/clojure-lsp and https://github.com/sublimelsp/LSP (and my plugin, after some more work), I think I could get most of what I'm looking for in a Clojure editing tool. I'm currently using that setup as a daily driver, and it is looking somewhat promising.
I might also need to reimplement https://github.com/odyssomay/paredit and https://github.com/odyssomay/sublime-lispindent to be more Clojure-friendly, but we'll see.