This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-22
Channels
- # announcements (17)
- # beginners (11)
- # biff (5)
- # calva (22)
- # cider (30)
- # clj-kondo (33)
- # clj-on-windows (20)
- # clojure (59)
- # clojure-dev (25)
- # clojure-europe (31)
- # clojure-nl (1)
- # clojure-norway (13)
- # clojure-sweden (5)
- # clojure-uk (6)
- # clojurescript (5)
- # community-development (2)
- # cursive (4)
- # datahike (5)
- # datalevin (7)
- # datomic (11)
- # emacs (8)
- # events (1)
- # gratitude (1)
- # hoplon (5)
- # hyperfiddle (1)
- # lsp (59)
- # matrix (11)
- # polylith (14)
- # portal (3)
- # practicalli (1)
- # rdf (2)
- # reitit (9)
- # releases (3)
- # rum (5)
- # yamlscript (6)
I might have asked this before, but is there any way I can stop Cursive from doing absolutely anything at the REPL itself? As in make it only send what I tell it to send to the REPL, absolutely nothing else. I don't want auto completion or whatever other things it does. For nREPL is sends various things. For Socket REPL it sends (clojure.lang.Compiler/load (clojure.lang.LineNumberingPushbackReader. (
and then (cursive.repl.runtime.socket/repl)
to just take over the stream. I'm experimenting with some REPL things in shadow-cljs, and this "extra" stuff really gets in the way. I'm tempted to write a nrepl middleware that drops all messages containing "cursive" but that can't be the way? And Cursive likely wouldn't like that?
hmm yeah I did ask this before and the realization last time was to just abuse custom REPL commands and letting Cursive do its thing otherwise. That'll work this time too I guess.
Yeah, I do recall an issue about this. If there’s a good workaround, I’d probably rather not add something like this since it seems like a fairly niche use case. Could you use a clojure.main REPL? That basically should do what you want, and just gets completions from the project indexes, not the live REPL.