emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
mister_m 2020-05-24T01:24:12.311500Z

Hello - does anyone know how I can run tests from CIDER with an added profile? Using lein at the terminal I'd run something akin to lein with-profile +blah test , but I am not sure how to force this in CIDER. I have a test of mine that I am wanting to debug.

dpsutton 2020-05-24T01:29:34.312Z

Is your question how to jack in with a profile?

mister_m 2020-05-24T01:31:13.313400Z

honestly, not sure

dpsutton 2020-05-24T01:31:29.314Z

As CIDER runs tests in the running repl so that seems to be the answer. If so then you can use a prefix argument when jacking in and edit the docstring of the command that CIDER uses

mister_m 2020-05-24T01:38:45.314100Z

that sounds like the way to go in my case. How does one jack in with a prefix argument? I'm only aware of the M-x cider-jack-in

mister_m 2020-05-24T01:44:38.314300Z

Looks like I might want cider-lein-parameters mentioned here https://docs.cider.mx/cider/0.24/basics/up_and_running.html#_customizing_the_jack_in_command_behaviour

dpsutton 2020-05-24T01:47:12.315800Z

That’s something you can set yes. And as a one off you can try C-u M-c cider-jack-in

mister_m 2020-05-24T01:55:13.316100Z

Thanks for the direction!

1