-
-
Notifications
You must be signed in to change notification settings - Fork 180
Cider REPL
When using Cider you want your REPL to use Cider's middlewares so stack traces in Emacs are nicely formatted, etc. (You'll need to use the latest Cider, rather than 0.8.2 stable.) Here's how to do it:
-
Make sure your version of boot is recent by running
boot -u
.** -
Make your
~/.profile.boot
orbuild.boot
look like the following.~/.profile.boot
is preferred so that you don't force other people to default to Cider, even though they really should.(require 'boot.repl) (swap! boot.repl/*default-dependencies* concat [[cider/cider-nrepl "0.8.2"]]) (swap! boot.repl/*default-middleware* conj 'cider.nrepl/cider-middleware)
NOTE: Make sure to have an
'
(apostrophe) before[[cider/cider-nrepl "0.8.2"]]
. (If it's not shown here that means Github's syntax highlighting is still broken.) -
Run REPL as usual with
boot repl
.**
You can find more documentation in commit 1a765793
You can find other developers and users in the #hoplon
channel on freenode IRC or the boot slack channel.
If you have questions or need help, please visit the Discourse site.
- Environments
- Boot environment
- Java environment
- Tasks
- Built-ins
- Third-party
- Tasks Options
- Filesets
- Target Directory
- Pods
- Boot Exceptions
- Configuring Boot
- Updating Boot
- Setting Clojure version
- JVM Options
- S3 Repositories
- Scripts
- Task Writer's Guide
- Require inside Tasks
- Boot for Leiningen Users
- Boot in Leiningen Projects
- Repl reloading
- Repository Credentials and Deploying
- Snippets
- Troubleshooting
- FAQ
- API docs
- Core
- Pod
- Util