Feature request: be able to specify "run with selected aliases" for clojure repls
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
No, it definitely makes sense, I'll look at that.
Thank you! Want me to create a gh issue?
Yes please!
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.
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.
Just trying to avoid (yet) another code path in the REPL startup, but I think the idea sounds good.