Cursive repl is weird with IntelliJ IDEA 2024.3.5 (Cursive 1.14.1-eap2-2024.3). I don't know if it matters, but I'm using Jetbrains Gateway to connect to a remote intellij backend.
Same issue with 2025.1.
Hmm I am on IntelliJ IDEA 2024.3.5 and Cursive 1.14.1-eap2-2024.3, no such problem… (but not using a Jetbrains Gateway, just local JVM/setup on macOS) What is a Jetbrains Gateway?
It lets you use intellij as a client to a backend running on a remote machine (e.g., over ssh). Gateway just manages the installation off the remote backend.
It's really nice-- I can do CUDA development on my Linux laptop from my IDE on my Macbook (and thus avoid the shitshow that is Linux + IntelliJ + Wayland + laptop drivers)
Oh, nice!
is it even officially supported? i remember cursive repl window was completely broken when gateway came out. maybe it has fixed itself over time? :) @solussd does gateway support the backend to run on macos yet?
I haven’t tried the BE on macOS.
Is there a way to export the static analysis of a project?
Sometimes I’m trying to find how a function is transitively related to another function (i.e. where it’s being called inside, however many levels in). Seems a like a graph problem I could solve myself if I had the graph.
Cursive doesn't provide this, no, but you can do it using kondo. Depending on which code you're using you could just use dewey which already has the analysis done, otherwise it has an example of how to do it if the code is not public.
awesome, thank you!