Skip to content
Peter Strömberg edited this page Apr 10, 2019 · 34 revisions

Welcome to the Calva wiki!

Getting Started with Calva

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 :dependencies conj "[cider/piggieback \"0.4.0\"]" -- update-in :plugins conj "[cider/cider-nrepl \"0.21.2-SNAPSHOT\"]" -- 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.

Contributing

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.