Fork me on GitHub

@misha Can you give me an example of what they look like?


@ckarlsen I’ll look at that, thanks for the repro case.


@hlship Hmm, I’m not sure - that’s probably an IntelliJ thing. I’m not sure why that would happen.


the #db/fn or #db/id


👋 hey folks - any discussions/plans around support for deps.edn in cursive? I found this: but it mostly seems to talk about using deps.edn from lein or boot.


@misha Thanks, I’ll take a look.

👍 4

Hey @korny! Yes, I’m planning that soon, it’ll probably be the next major piece of functionality in Cursive.

bubblebobble 24
Andreas Liljeqvist15:06:46

Not an expert here, but from what I understand git deps isn't included in pom.xml

Andreas Liljeqvist15:06:15

Is there any way to get Cursive aware of git deps when using deps.edn?

Alex Miller (Clojure team)15:06:31

Maven has no concept or way to include git deps

Alex Miller (Clojure team)15:06:16

such a thing could probably be written via a custom wagon (and given the vastness of the Maven ecosystem, someone probably has written something like it)

Alex Miller (Clojure team)15:06:36

but I have no plans to go to those lengths

Andreas Liljeqvist16:06:13

I am using pom.xml instead of project.clj for a project, but have no autocompletion for git deps.

Andreas Liljeqvist16:06:16

So I suppose it is a question for @cfleming if he is going to support some custom parsing for that use case?

Andreas Liljeqvist16:06:48

Or use the constructed classpath or something...


(how) can I turn off "namespeced maps prettyprinting" in cursive repl? I am talking about these:

#:db{:valueType :db.type/ref,
     :isComponent true,
     :cardinality :db.cardinality/one}
I want this instead:
{:db/valueType :db.type/ref
 :db/isComponent true
 :db/cardinality :db.cardinality/one}

Alex Miller (Clojure team)16:06:50

(set! *print-namespace-maps* false) might work


this does not work, at least when you set it via repl itself. No idea how to eval it prior cursive's nrepl launch

Alex Miller (Clojure team)16:06:04

yeah, I just tried it as well - I suspect it’s due to nrepl’s bindings not being retained (or initially set) between evaluations

Alex Miller (Clojure team)16:06:35

there is probably some way to work around that, but I don’t know what it is

Alex Miller (Clojure team)16:06:49

various expressions of this


Open 😞

Alex Miller (Clojure team)17:06:47

I think nrepl is the place to push on it

Alex Miller (Clojure team)17:06:53

these are all downstream of that

Alex Miller (Clojure team)16:06:06

although I’m not sure if nrepl binds that by default


has anyone else's intellj been hanging with 0% cpu since the latest cursive EAP?


I'm not sure I can correlate it with cursive, too many things changed


ah ok I can reproduce it. If I control-b into clojure.spec.alpha, intellj hangs


no cpu, can't close the window


tracked this down, not cursive's fault

parrot 4

@andreas862 I haven’t looked at deps support in enough detail to have started thinking about autocompletion. If you have suggestions about how you’d like it to work I’m all ears 🙂


@misha @alexmiller Yeah, there’s no good way to configure that at the moment.