cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
bozhidar 2021-03-29T07:04:30.098Z

Might also be bad interaction between several packages. I'd this without clj-refactor.el, although it has been mostly dormant for years now and I don't remember when was the last time something related to the jack-in deps changed there.

bozhidar 2021-03-29T07:04:48.098300Z

Still - fewer packages are always better when debugging something in Emacs. 😄

bozhidar 2021-03-29T07:05:20.098600Z

Here's a classic example from the other day - https://github.com/clojure-emacs/cider/issues/2995

🙈 1
bozhidar 2021-03-29T07:05:35.098900Z

> Very weird bug. It turns out that loading dircolors.el breaks cider. I solved the problem by removing it.

2021-03-29T10:37:57.099400Z

Is there a support for tap> with cider? or something to navigate between cider-results over time?

2021-03-29T14:54:25.100400Z

I am using cider-connect-cljs. In the cider-repl react/xxx buffer, when I run (js/alert “foobar”) indeed there would be an alert popping up in the app.

2021-03-29T14:54:51.101Z

However, emacs mode line shows cider not connected. and cider-sessions returns: No cljs REPLs in current session “react/rn-rf-shadow:localhost:53969”

2021-03-29T14:58:24.101600Z

The remote repl is run with: shadow watch :app . I guess I have to add some cider-nrepl stuff.

2021-03-29T15:11:53.101800Z

Yup. Problem solved.

2021-03-29T15:17:28.102500Z

Say I imported with: (require ’[“react-native” :as rn]). Is it possible to jump to definition of rn/View ?

vemv 2021-03-29T15:20:58.104300Z

silly q, when you cider-connect how much time does it take in your computer? For me its something like 2s, it's acceptable but it makes me twitch. It sounds like a job that could be easily instantaneous Might be specific to my emacs though

bozhidar 2021-03-30T20:17:17.109100Z

No worries!

dpsutton 2021-03-29T15:25:48.105500Z

If you m-x nrepl-toggle-message-logging you can see the messages going back and forth with timestamps i believe. Might help you locate where the slowdown is. My quick guess is its the namespace tracker sending along all of the var information

vemv 2021-03-29T15:27:23.105600Z

that's handy, thanks!

oxalorg (Mitesh) 2021-03-29T16:51:35.106200Z

Thanks I'll try to debug this more, but since this happens so rarely it's hard to remove packages to check which is the culprit! 🙈

bozhidar 2021-03-29T17:41:22.106400Z

Haven't tried it in a while, but it should be almost instantaneous. There's a bit of a message exchange after the connect itself that might be causing this delay for you. You'll have to debug this.

vemv 2021-03-29T17:42:24.106600Z

Yeah it was instantaneous and specific to my emacs Sorry for the noise!