Fork me on GitHub
#cursive
<
2020-06-18
>
dangercoder05:06:01

I'm trying to get cursive working together with leiningen on windows. Cursive is trying to download leiningen from the internet even though I have it installed Locally. Anyone knows how Cursive looks for lein?

cfleming05:06:47

It looks in ~/.lein/self-installs, which is where lein usually downloads to.

dangercoder05:06:58

Thanks! I think I can solve it. The problem is probably that I have 2.9.3 in there and cursive is trying to download 2.9.1.

cfleming05:06:46

You should be able to configure that at Preferences | Build, Execution, Deployment | Build Tools | Leiningen

cfleming05:06:59

Which Cursive version are you using?

cfleming09:06:33

Ugh, sorry, support for more recent versions of lein was added to the first EAP in the 1.9.2 series, I thought it would be in a stable build by now but 2020.2 threw a spanner in that. If you don’t mind switching to EAP builds that will fix your problem, otherwise I hope 1.9.2 should be out soon.

dangercoder09:06:10

No worries, I don't need the latest version of Lein 🙂

thosmos19:06:52

very minor thing, but I used to be able to cmd-space in a deps.edn dep version and it would look up the most recent version. did this get removed or ?

3
cfleming22:06:46

No, that should still work, but that API has an annoying tendency to change in recent versions, they’re actively working on it. Which Cursive and IntelliJ versions are you on?

thosmos14:06:37

Intellij 2020.1.2 . Cursive 1.9.1-2020.1

hlship21:06:40

Is there a known issue with macro expansion? I don't use it often, but lately it behaves strangely.

cfleming22:06:59

I don’t use it often either and I haven’t tried it recently - I’ll check that out.

kenny22:06:04

Yes, this happens to me too!

cfleming22:06:51

I get a cert error from that link.

cfleming22:06:04

But I can look it up in IRCCloud from the date.

kenny22:06:19

Just updated it. Somehow google popped up a link with the clojurians-log-internal subdomain.

kenny22:06:08

Removing the "internal" suffix from the subdomain fixes it. Guessing he didn't mean for that internal stuff to get indexed.

hlship21:06:12

The dialog is docked to the upper-left of my window, can't be undocked, none of the buttons work. Something odd is afoot.