Fork me on GitHub
#cider
<
2021-05-27
>
bozhidar06:05:21

Yeah, that's the way to do it.

Lukas08:05:53

Hey, I've got a shadow cljs project running to which I connected via cider-jack-in-cljs this works fine so far (e.g. typing in the repl buffer (js/alert "hello") works). But sending a Form to the repl with C-c C-e does not work :thinking_face:. Do I need any special middleware for that? Or did I miss something else? Any pointers are greatly appreciated

Lukas08:05:40

my shadow-cljs.edn

;; shadow-cljs configuration
{:deps {:aliases [:dev :app]}
 :nrepl {:port 9000}
 :dev-http {8083 "public"}
 :builds
 {:app {:compiler-options {:output-feature-set :es8}
        :target :browser
        :modules {:main {:init-fn }}
        :output-dir "public/js"
        :asset-path "js"}}}

Elso13:05:41

if you're using sesman you can have a look at the sesman-browser -> maybe your repl is not properly linked

Elso13:05:56

that sometimes happened to me when running both cljs and clj repls

blak3mill3r22:05:22

yeah, try sesman-link-with-buffer (I think)

Lukas08:05:13

Ty for your answers 🙏

Elso11:05:18

for some reason cider-pprint-eval-last-sexp is no longer opening up a pop-up buffer with the results - is there a config var for this?

Elso11:05:06

weirdly, directly calling (cider-popup-buffer "test") pops up and to me it seems that then pprint should too

bozhidar15:05:42

Nothing related to this command has been changed recently.

jmv17:05:29

hey all, does the :style/indent specification work with protocols?