I'm trying to fix recognition of guardrails >defn, but Alt+Enter → Resolve macro as… no longer exists. The only option that pops out from Alt+Enter is "Configure indentation...". I remember using this "Resolve macro as..." in the past, but now is gone. I use IntelliJ IDEA 2025.2.1 (on Linux distributed with Snap) with plugin 2025.2-252. Any advice?
I still have it, just checked
IntelliJ IDEA 2025.2.2 RC (Ultimate Edition)
Build #IU-252.26199.74, built on September 10, 2025
Source revision: 64ef3c3fe7d7a
Runtime version: 21.0.8+9-b1038.71 aarch64 (JCEF 122.1.9)
com.cursiveclojure.cursive (2025.2.1-eap2-252)
Kotlin: -IJ
I manged to find a workaround. I opened Languages & Frameworks > Clojure > Symbol Resolution Unfortunately this window did not allow to add any records, just remove some (only - button). So I copied the IDE resolution scheme to Project, and edited the file manually. That sorted out the problem.
We've got some macro definitions in the codebase that don't resolve correctly and I'm wondering if there's some way to fix it.
I used to mark these as Resolve as def or defn, but now it doesn't appear to work.
The reindexing happens, but it still seems to not resolve them.
This is similar to what happens in a macro heavy library like specter which also has issues, are there better ways of handling this now as I really would like to be able to do proper symbol resolution / jumping
Something that worked for me: https://clojurians.slack.com/archives/C0744GXCJ/p1758102577702869?thread_ts=1758101204.677349&cid=C0744GXCJ
Thanks @grzegorz.rynkowski, so I have this:
Now on my mac, CMD-click on a symbol jumps to it's definition and doing the same on the symbol on it's definition does a find usages.
Any ideas as to how I get the same behaviour (find usages) with keywords used in this context?
I know that it works in re-frame with reg-sub for example, I've even tried resolving it as reg-sub in an attempt to get that behaviour, but it doesn't work 😞
Which is wrecking my ingrained muscle memory
This could be because of these cursive exceptions I'm getting