Fork me on GitHub
#cursive
<
2023-02-27
>
tobias12:02:51

I'm having an issue where the "resolve as" item isn't showing up in the context menu for a macro. I'm playing with the https://github.com/hyperfiddle/electric-starter-app, and when I click the little light bulb context menu next to an e/defn there's the option for "configure indentation" but not for "resolve as". Any ideas how to make "resolve as" appear? I'm using 2022.3.1 (Community Edition) with Cursive 1.12.7-2022.3.

Dustin Getz12:02:59

weird, my machine shows resolve-as

Dustin Getz12:02:30

Did you import the deps project etc?

tobias12:02:36

I think it's a general problem with my cursive installation, not specific to electric. I tried just now with another macro in another project and it's also not giving me the "resolve as" option.

Dustin Getz12:02:11

try rm -rf .idea find . -type f -iname "*.iml" | xargs rm

tobias13:02:40

Thanks I will try. Currently waiting for IntelliJ to downgrade to previous version to see if that fixes it.

tobias13:02:16

BTW, I'm very excited about electric clojure :star-struck:, seems like a game-changer

🙂 2
cfleming21:02:01

Check under Preferences | Editor | Intentions | Clojure | Resolution and make sure that’s enabled.

tobias22:02:10

Aha, that's it! Thank you! I must have changed that setting accidentally but I have no idea how.

cfleming22:02:02

Yeah, happens more often than you’d think - the little right arrow in the popup is tempting instead of pressing enter, and then it’s easy to accidentally disable it.