This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-28
Channels
- # aleph (10)
- # announcements (1)
- # aws-lambda (1)
- # beginners (162)
- # calva (81)
- # chlorine-clover (2)
- # cider (18)
- # clj-kondo (2)
- # cljs-dev (1)
- # cljsrn (12)
- # clojure (64)
- # clojure-australia (6)
- # clojure-europe (13)
- # clojure-nl (3)
- # clojure-sweden (26)
- # clojure-uk (36)
- # clojurescript (45)
- # community-development (10)
- # conjure (16)
- # core-logic (4)
- # cursive (6)
- # datascript (1)
- # emacs (1)
- # events (2)
- # fulcro (87)
- # girouette (5)
- # honeysql (4)
- # hoplon (3)
- # hugsql (3)
- # leiningen (8)
- # malli (18)
- # off-topic (33)
- # pathom (14)
- # reitit (5)
- # remote-jobs (1)
- # reveal (1)
- # shadow-cljs (50)
- # sql (3)
- # startup-in-a-month (1)
- # vim (5)
- # xtdb (30)
I can connect to a shadow-cljs nrepl and execute code from the repl window (js/alert etc). When I try to evaluate code, it fails. The repl is “pending-cljs” in the buffer window. Any ideas on how to figure out how to evaluate from code in cljs with shadow?
Also, when I’m in a clojurescript file i get cider[not connected]
Do you have the latest version of cider and shadow-cljs? If yes, insure you have nrepl/piggieback as dependency
[this how I solved a similar problem in the past{
@neo2551 Technically speaking, shadow-cljs doesn't use piggieback - it implements its own version of it.
Okay! Thanks for the details :) but I did have the same problem, and it was solved by just adding the deps [maybe just correlation].
One day I should start getting interested in my tools, but I fear so much :)
I still can’t understand how to make an async call with cider to the repl haha
Hello! I have been trying to write a fn which pages through a seq of items, and pauses b/w page-size items: what is the simplest way to read a single char from the console? I have tried (read)
, and various use cases of jline and http://java.io readers, but most of the time the readers destroy my cider session, or I have to enter an entire clojure form + Enter, etc…any ideas? Thx!
I was trying to trigger a reaction on a single keystroke, but will use that if nothing else works..
I was curious to see if clojure-lanterna/curses might do the trick, but there is a learning curve and use warnings
@finn.volkel (read-line)
works ..but I am wondering what it does to work smoothly as opposed to trying to implement a ’read-char…
I am having a project (think git) where the the .dir-locals.el
is not sitting at the root. I am starting emacs from the dir that contains .dir-locals.el
but normal jack-in does not seem to pick it up. I checked default-directory
is set to the dir that contains .dir-locals.el
. When I do a jack in from a dired buffer that contains the .dir-locals.el
everything works as expected. Where does Cider normally try to start a project from? Can this be configured ?