This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-10
Channels
- # announcements (14)
- # beginners (55)
- # calva (4)
- # cider (9)
- # clojure (56)
- # clojure-austin (25)
- # clojure-brasil (1)
- # clojure-dev (29)
- # clojure-europe (44)
- # clojure-mexico (1)
- # clojure-nl (2)
- # clojure-norway (1)
- # clojure-uk (5)
- # clojurescript (15)
- # cursive (9)
- # datomic (5)
- # emacs (30)
- # events (1)
- # graalvm (30)
- # honeysql (17)
- # hyperfiddle (54)
- # introduce-yourself (1)
- # jobs-discuss (6)
- # kaocha (2)
- # leiningen (5)
- # lsp (6)
- # malli (3)
- # missionary (16)
- # off-topic (42)
- # overtone (40)
- # pedestal (2)
- # re-frame (21)
- # shadow-cljs (16)
- # squint (2)
- # tools-deps (14)
Hi, @thheller, a question: does the shadow-cljs nREPL implementation implements the "completions" operation?
Ok, so not even the simplified completions operation (this one: https://nrepl.org/nrepl/1.1/ops.html#completions) right? Just to be sure, I'm implementing some stuff in my tooling and I'm confirming if it's not a bug on my side 🙂
Oh, I meant for nREPL in CLJ - when I connect to nREPL in Shadow, I first land in clojure-land, and even there there's no "completions" operation right?
Oh, that's weird... ok, thanks, I'll try to figure out what's happening.
Right you are - completion
is not included - https://github.com/nrepl/nrepl/blob/master/src/clojure/nrepl/middleware/completion.clj.
(For context - I was doing some testing on my plug-in and was connecting to the shadow-cljs nREPL server to run the tests, and that's how I found that trying to run completions
got me an error)
Just a last question: is it possible to dynamically add this middleware/operation? Maybe with some config, maybe some API?