Hello, is there a way with cider to manipulate the ns form so that some imports are automatically included?
the use case is my user-repl ns, containing a debug atom to register some values
(swap! debug-atom assoc :params params)
Hi, I'm using cider-connect-clj
to connect to a socket repl at localhost:50505. I connect successfully but when I evaluate stuff it timeouts.
Starting new CIDER session ...
[nREPL] Establishing direct connection to localhost:50505 ...
[nREPL] Direct connection to localhost:50505 established
nrepl-send-sync-request: Sync nREPL request timed out (op clone id 1)
Am I doing something wrong?Yeah, CIDER works only with nREPL. inf-clojure
works with socket REPLs.
I don’t think cider supports connecting to a socket repl. You may need to start the repl with nrepl support instead of socket support.
With that port number you may be using @seancorfield’s dot-clojure. If so, this is how I’m starting it to connect to cider with nrepl: clj -M:add-libs:dev:nrepl