cursive

Issues at: https://git.io/cursive-issues
cfleming 2021-03-10T04:08:35.151500Z

https://twitter.com/CursiveIDE/status/1369500239875350528

đź‘Ť 3
cfleming 2021-03-10T04:08:59.152100Z

@favila and @imre this release fixes the issues you were asking about.

imre 2021-03-10T09:42:49.153900Z

You're a gent, Colin, thank you!

favila 2021-03-10T17:45:42.156300Z

Definitely fixed, thanks!

favila 2021-03-10T18:25:54.156700Z

hm, actually I take that back. I seem to be having classpath problems with run configurations now. Some items are not in the runconfig classpath which the equivalent clojure deps reports

favila 2021-03-10T18:27:29.156900Z

I’m going to try a downgrade and see if that fixes

favila 2021-03-10T18:43:27.157100Z

No. The issue seems to be that the transitive deps of a dep which is mentioned in an :override-deps isn’t included in the run-config classpath

favila 2021-03-10T18:43:47.157300Z

this didn’t work at all before so I can’t really compare

favila 2021-03-10T18:44:30.157500Z

the overrided-dep may also have to be a :local/root dep?

favila 2021-03-10T18:46:24.157700Z

the workaround I’m using now is just not to override these. It’s possible I can just remove them outright. I think the important thing is the result differs from clojure -A[same-aliases] -Spath

cfleming 2021-03-11T02:08:41.158500Z

Ok, looks like fixing the first bug exposes a second one. I’ll take a look at that ASAP

cfleming 2021-03-10T04:11:03.152200Z

You can introduce a let using Extract Variable, however amazingly I don’t seem to have that documented. Refactor -> Extract/Introduce -> Variable. You first select the form you want to extract, then select the level you want to introduce the let at.

cfleming 2021-03-10T04:56:12.152700Z

Oh, and @etldan too.

Daniel Wellman 2021-03-10T14:51:08.156100Z

Thank you Colin!

Daniel Wellman 2021-03-10T21:44:16.158100Z

I just installed the EAP and can confirm that it opens the project with lein-v version numbers. Thank you, this removes a little hurdle for me, and I’ll take all the help I can get. :)

robert-stuttaford 2021-03-10T07:02:54.152800Z

ok nice! i'll give it a whirl!

robert-stuttaford 2021-03-10T07:03:08.153Z

thank you Colin!

cfleming 2021-03-10T07:36:08.153600Z

One thing I should also point out - if you extract to an existing let the binding will be added to that one as you’d expect.

aratare 2021-03-10T10:21:45.155500Z

Hi there. Is there a way to run tests with code coverage inside cursive? I’ve created a new leiningen run configuration but apparently Run ... with Coverage doesn’t work because of Deferred configurations cannot be run with standard runners. Thanks in advance.

cfleming 2021-03-10T21:03:12.157900Z

There isn’t, unfortunately. I tried to get this going a while ago but IntelliJ’s coverage UI is very class focused and doesn’t work for Clojure. It’s a much larger job than I had hoped to get it working.