((clojure-mode
(cider-clojure-cli-global-options . "-M:dev:nrepl:nrepl-opts")))
That prepends only, how do I replace the entire jack-in cmd ?
if you drop that and just use -A:dev
you'll achieve the same thing. CIDER already throws its deps and main options in there correctly (which is what you are trying to accomplish with nrepl and nrepl-opts)
it is an example, I want per project specific commands, different nrepl, cider-nrepl versions etc...
alternatively, just start it from the command line like that and then cider-connect
.
is probably the easiest. it looks like if you call (cider-jack-in (list :edit-jack-in-command "whatever you want"))
but would probably need a patch to have a wholesale dropin of the jack in command from dir-locals
shouldn't be too hard. but at that point i don't see any real benefit over just cider-connect
and personally would want the process outside of emacs. but i can see some people wanting it as an emacs subprocess i guess
yep, using cider-connect
currently, wanted to 'slim' more the project setup but no biggie, thanks
yeah. especially if you have multiple versions there's no good way to select from multiple different fully formed startup commands. One thing to note is that if you jack-in with a prefix arg you can edit the entire jack in string to whatever you want. useful for "one off" type of jack ins, adding profiles willy-nilly, etc
@kaxaw75836 The following has an example .dir-locals.el
that will switch off all the auto-injection that cider-jack-in
command does, leaving the clojure command and aliases to run
http://practicalli.github.io/clojure/clojure-tools/data-browsers/rebl-data-visualization.html#run-rebl-for-nrepl-based-editors
Is *cider-test-report*
supposed to show which test in a clojure.test/are
form failed?