This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (5)
- # announcements (1)
- # architecture (35)
- # babashka (9)
- # beginners (87)
- # chlorine-clover (13)
- # cider (3)
- # cljdoc (12)
- # clojure (16)
- # clojure-australia (2)
- # clojure-dev (4)
- # clojure-europe (5)
- # clojuredesign-podcast (21)
- # clojurescript (19)
- # conjure (1)
- # core-async (1)
- # data-science (1)
- # emacs (44)
- # events (2)
- # helix (1)
- # leiningen (2)
- # malli (31)
- # pathom (3)
- # pedestal (31)
- # portal (3)
- # reagent (20)
- # reitit (5)
- # reveal (2)
- # rewrite-clj (18)
- # tools-deps (6)
- # xtdb (5)
I'm on the native-comp branch and there's this issue with sayid: https://github.com/clojure-emacs/sayid/pull/59 Any ideas for workarounds?
Hi! I am using emacs with cider and lein. I can get the repl started, but I cannot get buffer sexp eval at point, and the buffer itself seems unaware that cider is running. I read the documentation and watched videos demonstrating the interactive use, but I still cannot solve the problem.
hello lulian, do you have
cider/cider-nrepl in your project.clj? is the cider-mode activated in your current buffer?
No, adding it now. Do I have to write a version, or if I don't, it will get the latest?
you have to write a version I believe
mind you, it you should be added as lein plugin (i.e: in the
that, I don't know, I don't use clojurescript
but once you did
cider-jack-in-cljs you should be able to
C-M-x a sexp and it would be evaluated in the CIDER REPL
do you code in clojurescript or clojure?
But I may be able to solve the problem with clojurescript myself, if I manage to run clojure correctly
I know there are a couple of gotchas with cljs, but clj should work out of the box yes
The thing is, I do
cider-jack-in-clj, it starts the repl correctly, but the buffer is still
cider [not connected]
any interesting error in
C-h e ?
[nREPL] Starting server via /usr/bin/lein update-in :dependencies conj \[nrepl\ \"0.8.2\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.25.4\"\] -- repl :headless :host localhost You can run the command ‘cider-jack-in-clj’ with C-c M-j [nREPL] Starting server via /usr/bin/lein update-in :dependencies conj \[nrepl\ \"0.8.2\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.25.4\"\] -- repl :headless :host localhost [nREPL] server started on 36699 [nREPL] Establishing direct connection to localhost:36699 ... [nREPL] Direct connection to localhost:36699 established
can you access your namespaces in the repl at all?
, ns in CIDER buffer
well, it's working
here begins the fun
The figwheel-main template is a useful way to create a new project that should work as is with cider-jack-in-cljs Here is an example https://practicalli.github.io/clojurescript/web-design-basics/clojurebridge-london-website/create-project.html
that depends. When connecting to repl, cider will prompt several options. Choose the correct one, and remember also open a navigator to run the cljs code.
The main problem, that I still have not solve yet, is that when I choose the
figwheel option, emacs opens the repl in a new buffer, but the original buffer remains in the
cider [not connected] state
If figwheel-main fails, then the project is probably not configured to run figwheel-main build tool for Clojurescript