Skip to content

Tooling Integration Emacs, Cursive, VSCode etc.

David Nolen edited this page Apr 26, 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"))))
(krell/build config)
(apply cider.piggieback/cljs-repl (krell.repl/repl-env) (mapcat identity config))

Calva (VS Code)

For Calva see this

Clone this wiki locally