Fork me on GitHub
#cider
<
2019-11-08
>
macrobartfast01:11:07

@dpsutton learned to use the repl from the cli, as you suggested, and now using cider-jack-in-cljs which is working perfectly.

dpsutton01:11:38

Awesome! A lot of work went into that so that it would just work :)

dpsutton01:11:04

And if you’re not doing anything crazy it largely works beautifully

dpsutton04:11:51

any interest in showing the repl startup commands in the banner?

dpsutton04:11:44

i think this could really help demystify what CIDER is doing. here its clear that its calling shadow-cljs watch and then (shadow/watch :app) (shadow/nrepl-select :app). this way if you ever need to start up your app without CIDER its trivial to toss it into a terminal and know how to invoke your clojurescript entry

bozhidar06:11:20

No objections from me. I’ve added a few notes to your PR. Thanks for tackling this!

acron10:11:11

I feel really dumb. Which fn would I call to send a string to open REPL and have it executed?

jumar10:11:45

@U052SB76M you mean an action which you would like to execute from a clojure buffer?

acron10:11:14

Yeah, I am just trying to write an elisp fn to send a command to an open repl

jumar10:11:54

Ah, that's a bit different. There are bunch of cider-send-... fns. I guess you can look at their implementation.

jumar10:11:54

Hmm, actually they seem to be spacemacs specifict. But this can still be useful I think: https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Blang/clojure/funcs.el#L32

acron13:11:58

Thanks, I was able to copy this fn 🙂

Joe Littlejohn17:11:41

Hey, I have some :style/indent metadata on macros in a library I'm using but the indent spec it is being ignored by cider 0.23.0. Does cider have a cache of this info somewhere that I can clear?

Joe Littlejohn19:11:27

I waited a while and reloaded the code a few more times and the problem seems to be fixed ¯\(ツ)