-
-
Notifications
You must be signed in to change notification settings - Fork 221
Home
Peter Strömberg edited this page Apr 13, 2019
·
34 revisions
Welcome to the Calva wiki!
Please read: Getting Started
TLDR; Calva does not yet start the REPL for you, you need to do that yourself, and also make sure you get the dependencies right. If you are using plain Clojure, or Figwheel, you can start the REPL up like so:
$ lein update-in :dependencies conj "[nrepl \"0.6.0\"]" -- update-in :plugins conj "[cider/cider-nrepl \"0.21.1\"]" -- repl
$ lein update-in :dependencies conj "[nrepl \"0.6.0\"]" -- update-in :dependencies conj "[cider/piggieback \"0.4.0\"]" -- update-in :dependencies conj "[figwheel-sidecar \"0.5.19-SNAPSHOT\"]" -- update-in :plugins conj "[cider/cider-nrepl \"0.21.1\"]" -- update-in "[:repl-options :nrepl-middleware]" conj "[\"cider.nrepl/cider-middleware\"]" -- update-in "[:repl-options :nrepl-middleware]" conj "[\"cider.piggieback/wrap-cljs-repl\"]" -- repl
For shadow-cljs it is a bit less wordy:
$ shadow-cljs -d cider-nrepl:0.21.2-SNAPSHOT watch app
Then, from VS Code, open up a clj
,cljs
, or edn
file in your project root and issue the Calva Connect command, ctrl+alt+v c
.
Interested in contributing? See How to Contribute.
NB Right now the development is carried out on the dev
branch. You should visit #calva-dev on the Cojurians Slack to have a chat first so that you base your PRs off on the right stuff.