Fork me on GitHub
#cider
<
2016-11-14
>
zane15:11:16

@mitchelkuijpers: Was experiencing a weird issue with Cider's support for it and was wondering if it was a known issue. Turns out it is: https://github.com/boot-clj/boot/issues/524#issuecomment-260211223

mitchelkuijpers15:11:57

@zane I don’t have this issue. But i type (refresh) in the repl with danielsz/system

zane15:11:35

Yes, per the discussion in that issue calling clojure.tools.namespace.repl/refresh directly works just fine, but cider-refresh (along with any keys that are bound to it) is broken.

danielsz15:11:48

@zane Yes. like @mitchelkuijpers said, system has specific integrations with boot, and could give you a nice interactive experience.

zane15:11:40

I'm not looking to fix this by changing my component library, but thanks.

danielsz17:11:51

@zane What is your component library?

danielsz17:11:48

@zane system is built on top of Stuart Sierra's component library. It doesn't replace it.

zane17:11:00

I'm aware of that.

zane17:11:08

This project uses Mount.

zane17:11:02

My point is that System is irrelevant to my issue. My issue is an incompatibility between cider and boot-clj.

echristopherson18:11:41

Is it normal that I can use cider-find-var to locate a symbol when I'm in the repl or the file that defines it, but not when I'm in another file.

echristopherson18:11:31

I get Symbol -main not resolved

echristopherson18:11:16

oh, I see that I can qualify it and that works

josh.freckleton21:11:35

I assume this is a known bug, but cider-refresh messes up any cider-scratch instances; No namespace found. Is there a way of fixing this without restarting cider?

dpsutton21:11:12

hey josh, can you open a ticket on github?

dpsutton21:11:26

I worked on the cider-refresh last time and I never even thought about the cider-scratch buffer

dpsutton21:11:33

if you include some info I can look into it

josh.freckleton21:11:54

ya, it's kinda a niche use-case, I would guess, but I just "discovered" cider-scratch and love it!

dpsutton21:11:07

and bonus points if you include how you use the scratch buffer. I've never used it so i'll get two benefits:

dpsutton21:11:17

i'll see how you use it and to make sure i respect that in reloading

dpsutton21:11:25

and i'll probably like using a new part of cider i didn't even know about

dpsutton21:11:13

oh and @josh.freckleton. if you happen to know if this is a regression or if this is a bug that would be helpful, but i totally understand if you're not sure

josh.freckleton21:11:27

I have no idea if it's a regression, since I just discovered cider-scratch

josh.freckleton21:11:40

And I like using it as a scratch pad. To-date, I've been polluting my project's clj files with little scripts, and test cases, and fns, which ultimately should be erased, but end up sitting around stinking up my code. scratch provides a clean place for messing around!

josh.freckleton21:11:59

thanks, @dpsutton , you're real helpful!

echristopherson22:11:17

I'm not sure I would use C-j for eval in cider-scratch, since scratch no longer uses it