cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Ability to specify "run with selected aliases in Deps tool window" for clojure repls

Open imrekoszo opened this issue 6 months ago • 0 comments

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

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

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.

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.

Image

Per https://clojurians.slack.com/archives/C0744GXCJ/p1748868740952749

imrekoszo avatar Jun 04 '25 13:06 imrekoszo