This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-14
Channels
- # beginners (110)
- # boot (50)
- # cider (29)
- # cljs-dev (80)
- # cljsrn (10)
- # clojure (54)
- # clojure-italy (3)
- # clojure-korea (24)
- # clojure-russia (50)
- # clojure-spec (12)
- # clojure-taiwan (1)
- # clojure-uk (67)
- # clojurebridge (14)
- # clojurescript (118)
- # component (3)
- # cursive (11)
- # datomic (28)
- # dirac (31)
- # emacs (45)
- # flambo (2)
- # hoplon (53)
- # immutant (3)
- # jobs (5)
- # mount (8)
- # off-topic (10)
- # om (5)
- # onyx (52)
- # other-languages (2)
- # parinfer (1)
- # pedestal (1)
- # proton (39)
- # protorepl (2)
- # re-frame (22)
- # remote-jobs (1)
- # ring (13)
- # ring-swagger (2)
- # test-check (9)
- # untangled (28)
- # vim (12)
@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
@zane I don’t have this issue. But i type (refresh) in the repl with danielsz/system
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.
@zane Yes. like @mitchelkuijpers said, system
has specific integrations with boot, and could give you a nice interactive experience.
@zane system is built on top of Stuart Sierra's component library. It doesn't replace it.
My point is that System is irrelevant to my issue. My issue is an incompatibility between and .
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.
I get Symbol -main not resolved
oh, I see that I can qualify it and that works
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?
I worked on the cider-refresh last time and I never even thought about the cider-scratch buffer
ya, it's kinda a niche use-case, I would guess, but I just "discovered" cider-scratch
and love it!
and bonus points if you include how you use the scratch buffer. I've never used it so i'll get two benefits:
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
I have no idea if it's a regression, since I just discovered cider-scratch
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!
thanks, @dpsutton , you're real helpful!
I'm not sure I would use C-j for eval in cider-scratch, since scratch no longer uses it