-
Notifications
You must be signed in to change notification settings - Fork 1
How to launch a REPL for this project
Denis Fuenzalida edited this page Aug 1, 2019
·
8 revisions
This package uses the Clojure command line tool, so you need to install it for your operating system.
The latest version of CIDER works without any issue to launch a Clojure REPL. Just use the usual cider-jack-in
command that is usually associated with the shortcut C-c M-j
The latest version of the Calva extension works nicely to launch a Clojure REPL. After installing the extension, use the following shortcut to jack-in: Ctrl-Alt-c
then Ctrl-Alt-j
- To load the file currently being edited in the REPL, press
Ctrl-Alt-c
followed byEnter
- To run the tests in the current file being edited, press
Ctrl-Alt-c
followed byt
- You can also move to the line that contains the expression
(t/run-tests)
and pressCtrl-Alt-c
followed bye
to evaluate the expression, which will run the tests and return a map with the results
- You can also move to the line that contains the expression
- Install the new Clojure command line tool as described on the Clojure Github wiki. I used the first option (that uses a Powershell module in the Documents folder but has the advantage of not requiring admin privileges).