This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-01
Channels
- # babashka (2)
- # beginners (45)
- # calva (2)
- # cider (20)
- # clj-kondo (9)
- # cljsrn (1)
- # clojure (25)
- # clojure-europe (7)
- # clojure-nl (24)
- # clojure-spec (4)
- # clojure-uk (3)
- # clojurescript (16)
- # datahike (6)
- # datalevin (6)
- # emacs (35)
- # fulcro (3)
- # holy-lambda (1)
- # lsp (55)
- # nrepl (2)
- # off-topic (17)
- # spacemacs (11)
- # specter (1)
- # xtdb (3)
,ep;
should eval the last experession to a comment instead i get nothing... nothing my message buffer either.
If , e e
is returning a result and , e p ;
is not returning a result, then it sounds like there is a bug in Cider.
i'll restart things on my end first then file a bug report. thanks john.
I just added a .cljc file along side a .clj fie and can evaluate the last sexp to a comment. Is the issue with .cljc file from within a ClojureScript project? That might be more likely to have a bug.
> Is the issue with .cljc file from within a ClojureScript project? > That might be more likely to have a bug. that is the context of the issue yes.
or wait, i'm not sure how i started the repl.
it doesn't matter. it's not happening now. This is why i don't report bugs, because they seem to float away on the wind half the time.
If you are using shadow-cljs then I think its still a bug. Pretty Print with a ClojureScript repl was an issue with cider, but was fixed in the latest piggeback library apparently https://github.com/clojure-emacs/cider/issues/2667
Ah,, it does seem to have been fixed in shadow-cljs too https://github.com/thheller/shadow-cljs/issues/716
Although I am using cider, cljs, figwheel and a fairly recent piggieback and its still not pretty printing 🤷
I wonder if using the cider-inspect tool would work more consistently with ClojureScript. Seems to work with simple examples I have.