Clojure development with Spacemacs
This is an introduction to developing Clojure applications using Emacs, specifically based on the Spacemacs configuration for Emacs and CIDER. The aim is to help you be productive with those tools as quickly as possible.
Spacemacs is a community-driven project that provides a simple way to add lots of extra functionality to Emacs, without having to manage packages yourself or spend time writing common configuration code.
Topics covered in Workshop
This workshop will cover the following topics:
- Adding the Clojure layer
- Running the REPL & evaluating code
- Running tests & test reports
- Structural editing (smartparens/paredit fun)
- Emacs common commands
- Emacs cool stuff (multiple cursors, kill-ring / visual undo
- Clojure docs, auto-completion, snippets
- Clojure refactoring with clj-refactor
- Clojurescript development, figwheel and chestnut template
- Org-mode for project documentation, literate programming & presentations
- debugging basics (I rarely use the debugger so if anyone is willing to show how they use the debugger, please speak up).
This is not a guide to customising Emacs for Clojure development, except were there are useful additions to be made to Spacemacs and the Clojure layer.
Spacemacs also has built in documentation via:
Any customisations made to the standard Spacemacs install are contained in the Github repository Spacemacs configuration
Either browse the repository online or use your favorite git client or the following git clone command:
git clone https://github.com/practicalli/spacemacs-config.git
This creates a new directory called
spacemacs-configthat contains the configuration examples.
- Spacemacs Website
- Spacemacs ABC - screencast walk-through of features in alphabetical order
- SimpleTutorials: Spacemacs
Clojure Getting Started
- ClojureBridge London curiculum
- Clojure through code - many examples of basic Clojure code
- Getting started with Clojure - a general guide to Clojure (work in progress)
- 4Clojure exercises & 4Clojure Google group
- Clojurescript Koans or Lighttable Koans - exercises to help you discover Clojure
- Clojure.org, features and rational
- Clojure documentation
- Clojure cheetsheet
- Official Google group
- CrossClj - cross-referencing the Clojure ecosystem
Books & Tutorials
|John Stevenson||14 January 2017|
Spacemacs, Practicalli by John Stevenson is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at Spacemacs, Practicalli on Gitub.
Permissions beyond the scope of this license may be available at @jr0cket.