Fork me on GitHub
#cursive
<
2020-04-02
>
kenny00:04:22

What's going on with the documentation here? Is it only showing the docstring under cljs.core.async/alts! because the one for clojure.core.async/alts! is exactly the same?

cfleming10:04:41

Yes, Cursive will only show one if they’re identical.

Alex Miller (Clojure team)00:04:48

it's probably actually blank

Alex Miller (Clojure team)00:04:39

no, it isn't. maybe you are seeing some folding, not sure

imre10:04:56

Has anyone else found that cursive sometimes spends minutes on "Calculating Classpath" when launching a repl? Cursive 1.9.1-2020.1, #IC-201.6668.60, but the issue has been present on my system for the last 2 weeks or so

tanzoniteblack14:04:54

What option do you have set in the How to run it setting of the REPL config?

imre14:04:12

Run with deps cursive-lite,dev,test where cursive-lite is defined in my global deps, the rest are local

tanzoniteblack14:04:59

I had this, I think, when I had it set to run with deps, because it seems like it would do the classpath calculation without any of the caching everytime

tanzoniteblack14:04:30

I switched to just use run with intellij classpath and made sure that all the deps aliases I need are selected in the clojure deps project settings

imre14:04:37

hmmm, thank you, I will try that

imre14:04:05

@U0567Q30W is this intended behaviour?

tanzoniteblack14:04:31

I was going to add, I'm suggesting a work around that makes my life easier. Not sure if it's intended behavior or not

imre14:04:30

I'm sure for the time being it will be valuable

imre14:04:47

Thanks again. I'll try it the next time I run into this

onetom02:04:10

i've also experienced something like this but in a more disruptive way. for me the indexing hasn't finished at all but triggered a low memory warning and slowed down extremely. but then the problem has disappeared somehow as i kept upgrading intellij eap.

cfleming21:04:21

@U08BJGV6E Are you using lein or deps? Do you have snapshot repositories enabled?

imre21:04:30

This is with deps

imre21:04:22

Let me check the repos

imre21:04:29

I do have :mvn/repos {"sonatype" {:url ""}} in my global deps.edn

imre21:04:18

(forked from @U04V70XH6 's)

cfleming00:04:00

I don’t know how deps handles snapshot repos, actually. The issue with lein is that if you have :snapshots true in a repo description, lein will check the repo on every resolve to see if there’s a new snapshot. That can be really slow depending on the repos.

cfleming00:04:26

And the number of snapshot deps you’re pulling from them.

tanzoniteblack00:04:39

you can manually set that per repository in lein ( https://github.com/technomancy/leiningen/blob/stable/sample.project.clj#L117 ) ; but in deps, it's not currently configurable

tanzoniteblack00:04:43

(or it wasn't last time I looked)

tanzoniteblack00:04:10

"set that" == "how often to check for new snapshot versions"

cfleming00:04:27

Right, that was the setting I was thinking of, thanks.

cfleming00:04:36

I can’t see anything like that in the deps config.

cfleming00:04:58

@U08BJGV6E Are you pulling in any snapshot versions?

cfleming00:04:57

I’ve asked for some clarification over in #tools-deps on its handling of snapshots.

imre07:04:34

Thank you Colin. I'll check whether I use snapshot versions when I get to my machine

imre11:04:56

@U0567Q30W I'm not using any snapshot versions of libs. In fact it seems like I can turn that repo off as the only user of it is an alias that I don't use at all. Will try that next week

Jakub Holý (HolyJak)20:04:39

Hello! I cannot remember how to increase the timeout for how long Cursive waits for nrepl to start, does anyone know? Thanks!

cfleming21:04:52

@U0522TWDA It’s here (thanks rutledgepaulv!)