Fork me on GitHub
#cursive
<
2018-06-01
>
cfleming00:06:46

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

cfleming00:06:19

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

cfleming00:06:47

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

misha08:06:40

the #db/fn or #db/id

korny08:06:18

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

cfleming10:06:22

@misha Thanks, I’ll take a look.

👍 4
cfleming10:06:51

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...

misha16:06:30

(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

misha16:06:10

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

misha16:06:36

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

favila16:06:03

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

favila16:06:24

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

favila16:06:01

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

favila16:06:19

no cpu, can't close the window

favila19:06:44

tracked this down, not cursive's fault

parrot 4
cfleming21:06:12

@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 🙂

cfleming21:06:23

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