cursive

imre 2025-06-02T12:52:20.952749Z

Feature request: be able to specify "run with selected aliases" for clojure repls

imre 2025-06-04T13:59:47.209259Z

https://github.com/cursive-ide/cursive/issues/3036

👍 1
imre 2025-06-03T08:02:48.902089Z

Yeah the point would be that I can just set aliases in the deps tool window, launch a repl, and have those aliases active in that repl. Kill it, change aliases in the tool window, launch a new repl with the new aliases. So that I don't have to edit repl configurations, but I also don't need to rely on the IJ classpath. It would be a convenience feature for sure. I understand if that's too much code

cfleming 2025-06-03T08:52:09.913849Z

No, it definitely makes sense, I'll look at that.

imre 2025-06-03T09:47:06.193519Z

Thank you! Want me to create a gh issue?

cfleming 2025-06-03T19:55:51.675679Z

Yes please!

imre 2025-06-02T12:53:28.194209Z

Right now we can either run with the IJ classpath, which can be a bit risky given all the other stuff present there, or we can give cli opts

imre 2025-06-02T12:54:02.741009Z

I'd like to have an option that combines the aliases currently selected in the Clojure Deps tool window with -A:

imre 2025-06-02T12:55:42.060999Z

These days I often find myself wanting to start a repl with different alias combinations. I don't like to use IJ classpath due to the above, but I like to keep my IDE state and repl aliases in sync for accurate goto definitions etc.

cfleming 2025-06-02T20:37:41.519509Z

Ok, or perhaps a button to "Add aliases selected in IDE" or something, which would update the field. I guess the problem there is that it won't update if you later select different ones.

cfleming 2025-06-02T20:38:02.248009Z

Just trying to avoid (yet) another code path in the REPL startup, but I think the idea sounds good.