Spacemacs Clojure Layer Overview

The Clojure layer provides full language support and tooling including, autocomplete, refactor, inspector and debug, etc.

Projects managed by Leiningen, Boot and Clojure CLI tools (deps.edn) are supported and automatically detected when running the REPL.

CIDER logo

CIDER is part of the Clojure layer

The Clojure layer is a collection of Emacs packages and curated configuration to ensure those packages work well together in Spacemacs. The biggest part of the Clojure layer are the CIDER packages. Installing the Clojure layer will use the latest release of CIDER.

Features of the Clojure layer

CIDER provides a comprehensive range of tools to create quality Clojure code.

Start a REPL (Clojure runtime environment) from Spacemacs and evaluate one or more expressions to see the results in the source code buffer, giving extremely fast feedback on the behavior of that code.

  • inline error and warning highlighting, supporting joker and clj-kondo linters
  • human-friendly stack traces
  • smart code completion - auto-complete-mode
  • definition & documentation lookup
  • value inspector & function tracing
  • interactive macroexpansion
  • Run tests and generate reports - with clojure.test integration
  • classpath & namespace browser
  • nREPL session management
  • scratchpad
  • integration with company-mode

TODO

Add animated gifs or video of main features

Further reading

Some further reading around CIDER:

results matching ""

    No results matching ""