Fork me on GitHub
#cider
<
2020-12-17
>
Quentin Le Guennec09:12:03

Hello, is there a way with cider to manipulate the ns form so that some imports are automatically included?

Quentin Le Guennec09:12:40

the use case is my user-repl ns, containing a debug atom to register some values

Quentin Le Guennec09:12:00

(swap! debug-atom assoc :params params)

nmkip10:12:25

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?

David Reno13:12:10

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.

David Reno13:12:02

With that port number you may be using @U04V70XH6’s dot-clojure. If so, this is how I’m starting it to connect to cider with nrepl: clj -M:add-libs:dev:nrepl

bozhidar14:12:13

Yeah, CIDER works only with nREPL. inf-clojure works with socket REPLs.