cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
2021-02-05T11:32:57.180800Z

One small issue I’ve been having with cider is that it seems to take a long time to display the *cider-error* buffer after an exception is raised… any ideas about what might be causing it?

2021-02-05T12:33:52.181400Z

oh just seen this is mentioned above

twashing 2021-02-05T13:20:06.182100Z

I can’t get cider-connect-clj to connect to nrepl.server/start-server. Details are in this SO question. Anything that I’m missing? https://stackoverflow.com/questions/66057626/cider-connect-clj-cannot-connect-to-nrepl-server-start-server

2021-02-05T14:07:27.182300Z

I appear to have the same symptom, but not this issue. It was closed ages ago, and it looks like the cider stuff is now asynchronous to that, which means running the profiler as suggested doesn’t instrument it.

jumar 2021-02-05T19:03:27.184400Z

I had similar issues and it was also annoying to see get the popup so I disabled it and I only open it manually when needed

benny 2021-02-05T19:24:38.186200Z

Is there a function that takes a string, inserts the string in the repl and evals it? I only found cider-interactive-eval which does the latter part so far

dpsutton 2021-02-05T19:27:04.186500Z

cider-insert-in-repl is a Lisp closure in ‘cider-mode.el’.

(cider-insert-in-repl FORM EVAL)

Insert FORM in the REPL buffer and switch to it.
If EVAL is non-nil the form will also be evaluated.  Use
‘cider-invert-insert-eval-p’ to invert this behavior.

benny 2021-02-05T19:44:16.186900Z

@dpsutton thanks!

dpsutton 2021-02-05T19:48:35.187300Z

not sure if its in this function but there's a switch to repl option that i always disable as well