Fork me on GitHub
#cursive
<
2022-03-22
>
AJ Snow03:03:15

I just wanted to stop in and say that I came back to clojure recently and played around a bit with cursive. I was able to get a debugger repl running and play around inside some toy functions and eventually I plan to be more comfortable using a repl driven development style. In the meantime, as a novice, having access the the intellji debugger is a much welcome feature that makes becoming more familiar with the dev enviroment a much smoother process. Thank you for your work @cfleming!

cfleming04:03:08

Thanks for the kind words! I’m glad Cursive is helping to make Clojure more accessible for you. That’s one of my major goals.

AJ Jaro15:03:48

I’m still periodically getting custom macros that are not resolved like I specified them to be. The work-around here is to resolve as def and then resolve as defn again. It’s like Cursive is losing the context of those custom macros resolutions

Built on: 2022-02-24 09:26
Built from: 1.12.2-eap6-13-g96b19682

markaddleman16:03:24

fwiw, I see the same issue. Seemingly randomly cursive (or intellij?) seems to forget custom macros. I resolve the problem by doing the same thing

cfleming19:03:32

Are these in CLJS or just plain CLJ?

markaddleman19:03:56

I have not tried in CLJS

cfleming19:03:02

Ok thanks, a few people reported that it was more prevalent in CLJS, but that may have just been chance.

cfleming19:03:23

When this occurs, could you check in Preferences | Languages &amp; Frameworks | Clojure | Symbol Resolution and see if the macro in question is still present there in the configuration? It would be interesting to know if it’s failing despite the config being present, or if the config is falling off somehow.

markaddleman19:03:51

Sure. I'll take a look at that next time

cfleming21:03:06

I’d also like to know if this only happens for a single macro at a time, or if it suddenly appears to lose customisations for all macros.

AJ Jaro23:03:31

I have this happen in CLJS fairly often. I'll take a look in the preferences area next time around. Thanks!

markaddleman16:03:15

Here's a case. You'll see that mount's defstate is not resolving correctly

markaddleman16:03:48

But it is in the symbol resolution table:

markaddleman16:03:44

The meander macros are handled correctly in the same file

AJ Jaro16:03:29

Yeah, hey! I just had this fail again this morning and am seeing the same thing as @U2845S9KL. It’s not resolving even though it is declared as such

👍 1
cfleming21:03:41

Ok, thanks, that’s helpful. I’ll look to see what might be going on there.

markbastian20:03:48

Hey, just tried out the babashka repl in Cursive. Love it! One question, though. When I set environment variables in the run config they don’t seem to be getting set when I call (System/getenv). Is this a bug? E.g.

markbastian20:03:50

Then in the repl:

cfleming21:03:22

Hmm, could be, yes. Could you file an issue and I’ll look at that?

👍 1
cfleming21:03:22

Thanks, I’ll look at that for the current EAP series.

🙏 1