Skip to content

Tooling Integration Emacs, Cursive, VSCode etc.

David Nolen edited this page May 11, 2021 · 3 revisions

Cursive

Create a REPL. Use the clojure.main option. Supply the Krell parameters in the Parameters: field.

nREPL (Emacs, etc.)

Krell provides a standard ClojureScript REPL that should be compatible with existing nREPL tooling.

(require '[clojure.edn :as edn] 
         '[clojure.java.io :as io]
         '[cider.piggieback] 
         '[krell.api :as krell]
         '[krell.repl])

(def config (edn/read-string (slurp (io/file "build.edn"))))
(apply cider.piggieback/cljs-repl (krell.repl/repl-env) (mapcat identity config))

Calva (VS Code)

For Calva see this

Clone this wiki locally