Fork me on GitHub
#cursive
<
2019-03-05
>
joelsanchez00:03:38

it is possible. I will check the code tomorrow.

Matthew Davidson (kingmob)00:03:17

Hi @cfleming, I think defaulting to the latest Lein broke my setup. Can anything be done about it? (Maybe check the existing command-line version and/or default to it?) For anyone else, if you’re googling for weird piggieback compilation errors like I did, this is for you. We set our version of piggieback at 0.3.10, which brought in nrepl/nrepl 0.4.4. However, this results in multiple versions of nrepl/nrepl on the classpath, since Lein 2.9.0 injected nrepl 0.6.0. This resulted in piggieback compilation errors because the nrepl versions didn’t match.

Daniel Schlaug01:03:39

@cfleming Thanks! Though one can always keep tests in CLJC-files as far as possible I'm a bit sad to hear that the test-running not working with CLJS but I guess you can't have everything right away.

cfleming04:03:58

@kingmob You can set the version of lein you want Cursive to use at Preferences | Build, Execution, Deployment | Build Tools | Leiningen | Project Settings

Matthew Davidson (kingmob)14:03:26

Thanks, @cfleming. What I meant to say was, “defaulting on upgrade” broke it. Once I changed my Lein version, everything worked. What threw me was I upgraded IntelliJ, and didn’t realize that Cursive had upgraded at the same time, too.

p-himik15:03:24

Somewhat recently IDEA has gained new feature - multiline TODO statements. It's something that Cursive has to enable explicitly, right? Because right now it doesn't work for CLJ[S].

Kaden Taylor19:03:20

Hey guys! Cursive formatting question - I'm having difficulty finding the cursive equivalent of the blank line setting that controls the number of newlines between forms. Ideally I'd like to be able to just crtl+alt+L and have it correct blank lines as well. Any tips?

cfleming21:03:19

@p-himik I’m not sure, actually - I’ll check that.

cfleming21:03:37

@kadenjtaylor Currently Cursive doesn’t have a setting for that, sorry.

Kaden Taylor21:03:27

@cfleming okay, cool - any alternatives you might recommend? Not alternatives to cursive, just other methods of getting that behavior.

cfleming22:03:15

@kadenjtaylor I’m not sure, sorry - either cljfmt or zprint should be able to do that.

cfleming22:03:25

Cursive should be able to too, of course 🙂