Fork me on GitHub
#cider
<
2022-01-13
>
didibus05:01:59

Is there a way in Cider to have output display in line? For example right now you get inline evaluation, where the return of evaluation shows up next to the line I evaled in the buffer, but if it also printed something I need to open the REPL window. I'd like to have the output show up inline as well somehow. Is that an existing feature?

magnars08:01:34

C-u C-x C-e If cider-eval-last-sexp is bound to C-x C-e , you'll insert the output into the buffer with the prefix command C-u .

didibus08:01:50

By output, I mean like what goes to out like say when I do (println "hello") I'd like to see "hello" in the buffer

bozhidar07:01:33

Ah, got it. No, that's currently not possible.

bozhidar07:01:51

(but it's quite doable)