The Clojure Interactive Development Environment that Rocks for Emacs
Emacs Lisp Makefile
Latest commit 240c6ed Jan 23, 2017 @arichiardi arichiardi committed with bbatsov Fix boot task option in README
Permalink
Failed to load latest commit information.
.github Link to the "Hacking on CIDER" manual section from some related docum… Jan 23, 2017
doc Update "Up and Running" part related to boot Jan 23, 2017
logo Update logo; add favicon files Feb 21, 2014
test [Fix #1731] Change code for boot's cider.tasks/add-middleware task Jan 23, 2017
.dir-locals.el [#1352] Documentation complies with checkdoc style Apr 6, 2016
.gitattributes Make it easier to deal with changelog conflicts Oct 20, 2016
.gitignore Ignore some refcard-related artifacts Feb 23, 2016
.projectile Add a .projectile file Oct 30, 2013
.travis.yml Display the Emacs version before running the tests on Travis Nov 26, 2016
CHANGELOG.md [Fix #1731] Change code for boot's cider.tasks/add-middleware task Jan 23, 2017
Cask Remove redundant noflet dependency Apr 30, 2016
Makefile [Fix #1650] Migrate cider tests from ert to buttercup Apr 29, 2016
README.md Fix boot task option in README Jan 23, 2017
Vagrantfile Update ubuntu version - Fix vagrant provision failure Aug 24, 2015
cider-apropos.el Update the copyright years in the source code Jan 3, 2017
cider-browse-ns.el Update the copyright years in the source code Jan 3, 2017
cider-classpath.el Update the copyright years in the source code Jan 3, 2017
cider-client.el Remove session from nrepl interaction (#1925) Jan 23, 2017
cider-common.el Update the copyright years in the source code Jan 3, 2017
cider-compat.el Update the copyright years in the source code Jan 3, 2017
cider-debug.el Update the copyright years in the source code Jan 3, 2017
cider-doc.el Update the copyright years in the source code Jan 3, 2017
cider-eldoc.el Update the copyright years in the source code Jan 3, 2017
cider-grimoire.el Update the copyright years in the source code Jan 3, 2017
cider-inspector.el Remove session from nrepl interaction (#1925) Jan 23, 2017
cider-interaction.el Remove session from nrepl interaction (#1925) Jan 23, 2017
cider-macroexpansion.el Update the copyright years in the source code Jan 3, 2017
cider-mode.el Add font-locking for reader conditionals (#1912) Jan 12, 2017
cider-overlays.el Update the copyright years in the source code Jan 3, 2017
cider-popup.el Update the copyright years in the source code Jan 3, 2017
cider-repl-history.el Add cider-history command, based on browse-kill-ring Jan 11, 2017
cider-repl.el Add cider-history command, based on browse-kill-ring Jan 11, 2017
cider-resolve.el Update the copyright years in the source code Jan 3, 2017
cider-scratch.el Update the copyright years in the source code Jan 3, 2017
cider-selector.el Update the copyright years in the source code Jan 3, 2017
cider-stacktrace.el Update the copyright years in the source code Jan 3, 2017
cider-test.el Remove session from nrepl interaction (#1925) Jan 23, 2017
cider-util.el Add cider-history command, based on browse-kill-ring Jan 11, 2017
cider.el [Fix #1731] Change code for boot's cider.tasks/add-middleware task Jan 23, 2017
mkdocs.yml [Fix #1862] Add "Hacking on CIDER" section to the manual Jan 4, 2017
nrepl-client.el Remove session from nrepl interaction (#1925) Jan 23, 2017
nrepl-dict.el Update the copyright years in the source code Jan 3, 2017

README.md

License GPL 3 MELPA MELPA Stable Build Status Gitter

Gratipay Team OpenCollective OpenCollective Paypal

CIDER Logo

CIDER is the Clojure(Script) Interactive Development Environment that Rocks!

CIDER extends Emacs with support for interactive programming in Clojure. The features are centered around cider-mode, an Emacs minor-mode that complements clojure-mode. While clojure-mode supports editing Clojure source files, cider-mode adds support for interacting with a running Clojure process for compilation, debugging, definition and documentation lookup, running tests and so on.

CIDER is the successor to the now deprecated combination of using SLIME + swank-clojure for Clojure development.

Please consider supporting financially its ongoing development.

Quickstart

The instructions that follow are meant to get you from zero to a running CIDER REPL in under 5 minutes. See the official manual for (way) more details.

Installation

package.el is the built-in package manager in Emacs.

CIDER is available on the two major package.el community maintained repos - MELPA Stable and MELPA.

You can install CIDER with the following command:

M-x package-install [RET] cider [RET]

Launch an nREPL server and client from Emacs

Simply open in Emacs a file belonging to your lein or boot project (like foo.clj) and type M-x cider-jack-in. This will start an nREPL server with all the project dependencies loaded in and CIDER will automatically connect to it.

Alternatively you can use C-u M-x cider-jack-in to specify the name of a lein or boot project, without having to visit any file in it.

In Clojure(Script) buffers the command cider-jack-in is bound to C-c M-j.

Connect to a running nREPL server

You can go to your project's directory in a terminal and type there (assuming you're using Leiningen that is):

$ lein repl

Or with Boot:

$ boot repl -s wait

Alternatively you can start nREPL either manually or by the facilities provided by your project's build tool (Gradle, Maven, etc).

After you get your nREPL server running go back to Emacs. Typing there M-x cider-connect will allow you to connect to the running nREPL server.

In Clojure(Script) buffers the command cider-connect is bound to C-c M-c.

Diving Deeper

CIDER packs a ton of functionality and you really want to be familiar with it, so you can fully empower your workflow. The best way to get acquainted with all available features is to go over the entire CIDER manual.

Changelog

An extensive changelog is available here.

Team

The Core Team

The direction of the project is being stewarded by the CIDER core team. This group of long-term contributors manage releases, evaluate pull-requests, and does a lot of the groundwork on major new features.

CIDER Alumni

In addition, we'd like to extend a special thanks the following retired CIDER core team members. Lovingly known as The Alumni:

Release policy

We’re following SemVer (as much as one can be following it when the major version is 0). At this point bumps of the minor (second) version number are considered major releases and always include new features or significant changes to existing features. API compatibility between major releases is not a (big) concern (although we try to break the API rarely and only for a good reason).

The development cycle for the next major release starts immediately after the previous one has been shipped. Bugfix/point releases (if any) address only serious bugs and never contain new features.

The versions of CIDER and cider-nrepl are always kept in sync. If you're tracking the master branch of CIDER, you should also be tracking the master branch of cider-nrepl.

Logo

CIDER's logo was created by @ndr-qef. You can find the logo in various formats here.

The logo is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Funding

While CIDER is free software and will always be, the project would benefit immensely from some funding. Raising a monthly budget of a couple of thousand dollars would make it possible to pay people to work on certain complex features, fund other development related stuff (e.g. hardware, conference trips) and so on. Raising a monthly budget of over $5000 would open the possibility of someone working full-time on the project which would speed up the pace of development significantly.

We welcome both individual and corporate sponsors! We also offer a wide array of funding channels to account for your preferences (although currently Open Collective is our preferred funding platform).

If you're working in a company that's making significant use of CIDER we'd appreciate it if you suggest to your company to become a CIDER sponsor.

You can support the development of CIDER, clojure-mode and inf-clojure via Open Collective, Salt, Gratipay and PayPal.

Support via Gratipay

Paypal

Open Collective Backers

Open Collective Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

License

Copyright © 2012-2017 Tim King, Phil Hagelberg, Bozhidar Batsov, Artur Malabarba and contributors.

Distributed under the GNU General Public License, version 3