Fork me on GitHub
#cursive
<
2021-08-27
>
ikitommi07:08:27

is there a way to set cond-> indentation (to align with clj-format defaults)?

ikitommi18:08:02

it was checked, no effect.

ikitommi18:08:28

updated to 2021.2.1, there is now no clojure in the intentions at all :thinking_face:

ikitommi18:08:21

works for normal forms, not for macros like cond->

ikitommi18:08:46

my bad, there is still clojure, an it’s ok:

ikitommi18:08:19

the new IDEA version shows the intentions setting under create scratch file, weird

cfleming21:08:59

That is weird. Someone just posted to the ML saying that some inspections are not working under 2021.2.1, I’ll investigate all that today.

cfleming08:09:07

I finally got around to looking at this, and it’s working fine for me. I’m not sure why that wouldn’t work for you.

cfleming08:09:27

Does this work for other macros, e.g. defn?

cfleming08:09:45

If so, does it work for threading macros like ->?

ikitommi12:09:10

that works in other projects, just configured those via another project and it applies to this one too (where it is not available). There are no errors, just isn't there :man-shrugging:

ikitommi12:09:11

I can try to pinpoint what's different in that project, but case resolved now for me. Weird.

ikitommi12:09:41

If I hadn't taken a screenshot, I would suspect my own eyes. Just checked, still not there in the one (deps cljc) project.

cfleming22:09:19

In that one project, does it work for the other macros (`defn`, ->)?

Colin P. Hill18:08:36

Are :git/url sources in deps.edn supported? Cursive seems to be skipping over those when it resolves my dependencies

2