Clojure - run REPL without project.clj

I started using Clojure with leiningen(and now boot).

Now I sometimes want to quickly get to Clojure {Script} CIDER REPL in Emacs to follow just a few instructions. I do not want to create a file for this project.clj, since I just want to use REPL in the newsletter.

Is there a way to get a replo Clojure file, for example, in a buffer *scratch*?

+4
source share
3 answers

well, you can execute Mx cider-jack-anywhere, even without the project.clj project. This works for me.

+3
source

lein repl // - project.clj. REPL, , Emacs M-x cider-connect ( ). M-x cider-jack-in (.. lein repl) .

, boot wiki leiningen boot repl -s.

+1

M-x cider-jack-in, , , cider-jack-in Clojure, emacs.d/init.el:

(setq cider-allow-jack-in-without-project t)
0

Source: https://habr.com/ru/post/1611342/


All Articles