This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-14
Channels
- # announcements (3)
- # aws (7)
- # babashka (108)
- # beginners (222)
- # bristol-clojurians (3)
- # calva (8)
- # chlorine-clover (1)
- # cider (14)
- # clj-kondo (4)
- # cljdoc (6)
- # cljs-dev (89)
- # cljsrn (13)
- # clojars (6)
- # clojure (89)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojure-italy (9)
- # clojure-losangeles (11)
- # clojure-nl (6)
- # clojure-spec (2)
- # clojure-sweden (1)
- # clojure-uk (9)
- # clojurescript (47)
- # conjure (18)
- # datomic (7)
- # docker (1)
- # figwheel (43)
- # figwheel-main (2)
- # fulcro (31)
- # kaocha (3)
- # leiningen (7)
- # luminus (2)
- # nrepl (14)
- # off-topic (24)
- # pathom (5)
- # pedestal (5)
- # rdf (4)
- # re-frame (49)
- # reagent (12)
- # reitit (9)
- # rum (21)
- # shadow-cljs (109)
- # tools-deps (35)
- # vim (8)
- # wasm (1)
@bozhidar Do I need to write any special setup to activate pretty print on CIDER with ClojureScript and Shadow-cljs?
shadow-cljs doesn’t use Piggieback, so it doesn’t support pretty-printing currently. It uses it’s own evaluation middleware that has to be updated independently.
regarding the new update on piggieback
Apologies as this is not really a cider question but maybe someone here knows of a solution When I activate a hydra while having a cider repl buffer open the repl prompt is moved upwards (as the buffer is now smaller) but when the hydra closes the prompt is left further up in the buffer (i.e. now no longer at the bottom). This now prevents the cider buffer from scrolling with new output until I at least move focus to the repl. I can’t figure out how to turn off emacs’s overscroll feature for a buffer.
Just thinking… if there is a cider function to reset the prompt I could call it on a ‘close hydra’ hook…
clojure.lang.LispReader$ReaderException: java.lang.RuntimeException: No reader function for tag dbg
I’ve been getting this (above) recently when trying to debug with cider-eval-defun-at-point
… has anyone else? https://github.com/clojure-emacs/cider/issues/1359with the same message is from 2 015, not sure what parts of it might still be relevant.
I was able to debug just fine last week. I tried to add clj-kondo and lsp to my spacemacs. Started seeing this. Reverted my spacemacs changes but still have the problem.
$ lein version
Leiningen 2.9.1 on Java 1.8.0_221 Java HotSpot(TM) 64-Bit Server VM
;; Connected to nREPL server -
;; CIDER 0.24.0snapshot (package: ), nREPL 0.6.0
;; Clojure 1.9.0, Java 1.8.0_221
WARNING: CIDER requires cider-nrepl to be fully functional. Some features will not be available without it!
More information.WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0-SNAPSHOT (package: 20190618.716) and n/a, respectively.
hm. I don’t get the same error message in a different project Actually I’m able to debug only if the repl is started from within emacs …. If I start the repl in a terminal and then connect to it from emacs it complains
… But I am reluctant to start the repl from within emacs because some of the lines this app outputs are super long and it slows down emacs a lot
Cider nrepl provides nrepl middleware and also the reader tag for #dbg. You need this middleware regardless of how you start your app
How does starting the repl within emacs include nrepl while running lein repl
from the terminal not? (should I ask in #leiningen ?)