Hi all! I am writing clojure on Intellij using cursive plugin, and just moved to macos recently. I defined a macro using defmacro. this macro is doing a functionality which is similar to defn, but intellij doesn't recognize this macro when its being used and yield "unrecognized symbol" with red mark. I've added a symbol resolution and it didn't help. I tried to restart/invalidate cache, ect, and it didn't help ether. (when I used ubuntu- those steps was sufficient) The code would probably run from repl/terminal, ect. but the only issue is intellij's compiler that yield with a red line. Anyone has an idea? Thanks!
Who decides when indexing happens? Is that Cursive or Intellij? I'm starting to really hit performance issues with the editor and it would be good to know if this is coming from the plugin or editor 😃...
There seems to be a lot of wait for indexing to happen before anything can happen, including delay ui rendering + keypresses at times, and I'm wondering where the assumption is that indexing is fast, because from what I can tell indexing is really really slow (this could be just because of how much project data I have) This seems to result in a lot of out of sync ui, pauses waiting for ui to load, waiting for keypresses to register... Some of this might also be related and connected to stubs not being generated correctly...
idea 2024.3 on apple silicon has outrageous performance degredation (e.g. multiple second gc pauses while typing), i downgraded to 2024.1 which also has really bad performance degredation but on the order of 100ms not 3000ms so i can get by
i'm on Macos Sonoma 14.7.1 (23H222), have not tried upgrading yet
honestly, running IDEA remotely on a cloud linux box may be a superior solution that i just thought of
Ok wow, that's just crazy... Are you aware if jetbrains is looking into this?
i dont recall
Hmm, ok, going to try the EAP, see if they're doing anything in the latest version, at least I can load a big project in there and see if it's just as bad there... Would be good to get colin's view as well, every time I've ever spoken to jetbrains, the second they know a plugin is involved they throw their hands up and blame the plugin... It would be good to be able to actually fix this, as it's really starting to affect productivity 😃...
Ok, looks like it's unsupported...
Plugin 'Cursive' (version '1.14.1-eap1-2024.3') is not compatible with the current version of the IDE, because it requires build 243.* or older but the current build is IU-251.18673.35Let's try 2024.1 as you suggested 😃...
Ok, I can't run the different plugin versions side by side...
Yes, there have been performance issues with recent versions, I believe it's due to the JDK which they updated in 2024.2. If you have a time when the performance is bad, if you can capture a CPU snapshot and send it to me that would be useful: Help | Diagnostic Tools | Start/Stop CPU usage profiling.
Oh it's bad right now, so give me a sec
I've had IndexNotReadyException sitting there for the past 2 hours xD...
It's still indexing
In that case, is sounds like the indexes have become corrupted - I'd suggest File | Invalidate Caches...
Agreed, however it seems to happen fairly regularly at this point
i think it's still unclear what exactly causes these performance issues, because on our M1 & M2 Pro machines with Sequoia 15.2 (24C101), IntelliJ IDEA 2024.3.2.1 Build #IU-243.23654.153, built on January 23, 2025, Cursive 1.14.1-eap1-2024.3 we are not seeing any issues.
Can multiple versions of cursive plugin be available in the market place which are compatible with say last 3 or 5 versions of IntelliJ
@manas.marthi but there are many versions available in 3 different channels Stable / Dev / EAP, eg https://plugins.jetbrains.com/plugin/8090-cursive/versions/eap
@cfleming I cannot find the Start/Stop CPU Usage Profiling option, please advise. Screenshots are 2025.1 EAP
Wait is cursive running @dustingetz? It was disabled on mine...
Yes cursive is running, here is a screenshot including clojure highlighting as proof