Workshop: Developing Clojure with Spacemacs (Emacs + Cider + clj-refactor...)
Details
Please sign up at the SkillsMatter event page (https://skillsmatter.com/meetups/8856-workshop-developing-clojure-with-spacemacs-emacs-cider-clj-refactor) in order to attend this event (or we might get a small room and there wont be enough space)
Emacs has always provided full support for Clojure and is also a very lightweight and fast tool for programming in a range of languages.
Spacemacs (http://spacemacs.org/) 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.
For example, to add full Clojure support, you simply add the word clojure to the list of layers in the spacemacs config. Then everything is loaded from melpa and configured for you.
The workshop (https://practicalli.github.io/spacemacs) will go through all the major parts of Spacemacs (mainly CIDER & clj-refactor) that relate to Clojure development and any supporting tips & tricks. For example:
- Adding the Clojure layer
- Running the REPL & evaluating code
- Running tests & test reports
- Structural editing (smartparens/paredit fun)
- Emacs cool stuff (multiple cursors, kill-ring / visual undo)
- Clojure docs, auto-completion, snippets
- Clojure refactoring with clj-refactor
- Clojurescript repl & figwheel (chestnut lein template)
- Org-mode for project documentation, literate programming & presentations (optional)
- debugging basics (I rarely use the debugger so if anyone is willing to show how they use the debugger, please let me know).
The workshop is being published online at: https://practicalli.github.io/spacemacs
Pre-requisites (https://practicalli.github.io/spacemacs/introduction/pre-requisites.html)
- Emacs version 25.1 or greater installed and any existing emacs.d configuration moved and backed up (if you want to keep it).
- Leiningen version 2.7.1 or greater should be installed from leiningen.org (or via homebrew on Mac if you prefer)
If you want to maintain your own Emacs + CIDER + clj-refactor + [paredit / smartparens] + autocomplete setup, then 95% of the workshop will still apply.
