This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-02
Channels
- # aleph (1)
- # architecture (4)
- # beginners (39)
- # boot (12)
- # cider (25)
- # cljs-dev (3)
- # cljsrn (5)
- # clojure (175)
- # clojure-dusseldorf (1)
- # clojure-italy (13)
- # clojure-nl (4)
- # clojure-russia (1)
- # clojure-spec (52)
- # clojure-uk (110)
- # clojurescript (35)
- # data-science (2)
- # datomic (61)
- # editors (8)
- # emacs (2)
- # fulcro (7)
- # graphql (15)
- # hoplon (1)
- # hyperfiddle (3)
- # jobs (4)
- # jobs-discuss (12)
- # juxt (2)
- # lein-figwheel (6)
- # leiningen (35)
- # off-topic (4)
- # onyx (5)
- # parinfer (1)
- # pedestal (63)
- # re-frame (38)
- # reitit (7)
- # ring-swagger (7)
- # rum (2)
- # shadow-cljs (27)
- # tools-deps (10)
- # uncomplicate (16)
Is there any way to shorten/filter the stack traces in the cider repl? I've tried using small values for cider-stacktrace-print-[level/length] but it doesn't seem to make any difference
@vigilancetech Don’t you just get an error message in the REPL, not the whole stacktrace?
@bozhidar that's pretty typical
Is it expected that refactor-nrepl:2.3.1
and cider/cider-nrepl:0.17.0
together crash with java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/misc__init.class or cider/nrepl/middleware/util/misc.clj on classpath.
?
Thank you. I had to pin clj-refactor to melpa-stable
repository, otherwise it brings the nightly version of cider
as a dependency.
Turns out, it is impossible to use the stable CIDER version with clj-refactor right now.
Is there an easy way of creating a command for making cider evaluate the bindings inside a let as global? Like, if there's (let [b1 c1] ,,,), I want to move the point to let and make it evaluate (def b1 c1), making them available in the current namespace - this will make interactive debugging easier. It's like https://github.com/vvvvalvalval/scope-capture, but more straightforward
I have this command, it is pretty straightforward and I should PR it to cider and see...not at the keyboard now but will get back to you
Yeap, it looks simple, but I'd have to study a bit about cider internals 😅 Cool, @richiardiandrea. I'm looking forward to seeing it
As a learning exercise, here’s my attempt:
https://pastebin.com/raw/u2gsWGWp
I’d the say macro is OK, but the elisp part is hackish - I use lispy--string-dwim
(from the lispy package) for getting the form next to the point and concatenate it with my function.
What’s a better way of doing that?
Been using inf-clojure
for a long time but just trying cider again after having some issues with inf-clojure
… and wow, it’s gooooood 🙂 👏
I think that @richiardiandrea had a similar revelation lately, which significantly reduced the efforts going into inf-clojure
. 🙂
> Is it expected that refactor-nrepl:2.3.1
and cider/cider-nrepl:0.17.0
together crash with java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/misc__init.class or cider/nrepl/middleware/util/misc.clj on classpath.
?
@alexyakushev clj-refactor hasn’t had a new stable release in a very long time. The master
is compatible with 0.17 and with the latest CIDER snapshot, not sure about the rest. Unfortunately we don’t sync the releases. The errors you saw are the result of a lot of code being moved from cider-nrepl
to orchard
.
Will cider has always been better but I had a requirement for staying in lumo land and no socket REPLs in cider. That was the only reason for me. I am happy to be using it again to be honest.
@bozhidar Thanks, Bozhidar. My main issue here is that CIDER pinned to melpa-stable doesn't stay so because it comes from melpa as a dependency for clj-refactor. I can fix it for myself; but it's just something you'd want to keep in mind when offering to pin CIDER to melpa-stable in the docs.