Skip to content

Commit

Permalink
Update - enhancing clojure layer experience
Browse files Browse the repository at this point in the history
Sayid debugger package and clj-refactor are no longer loaded by default.

Sayid has caused a few issues with Cider recently so it is left to the user to decide
if it is useful for them.

clj-refactor has not been updated in several years and some of its functionality
is moving into clojure-mode.

Both these packages can be included by defining their package names as
:variables on the clojure layer
  • Loading branch information
practicalli-johnny committed Oct 7, 2018
1 parent 727a25f commit 5a98cbb
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions install-spacemacs/enhance-clojure-experience.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# Enhancing the Clojure experience

Adding the **clojure** layer provides a featured Clojure development experience based on [CIDER](https://docs.cider.mx)
Adding the **clojure** layer provides a Clojure development experience based on [CIDER](https://docs.cider.mx)

We can make the development experience even better by adding a few more layers:
We can make the development experience even better by adding a few more layers and some optional packages for the clojure layer:

Layers are defined in the `dotspacemacs-configuration-layers` section of the `~/.spacemacs` configuration file.

| Layer name | Description |
|-------------------|--------------------------------------------------------------------|
| `auto-completion` | to complete names of functions, symbols, etc. |
| `git` | git based version control with [Magit](https://magit.vc/) |
| `markdown` | writing project descriptions in README.md and other markdown files |
| `org-mode` | write project documentaion, organise tasks |
| `syntax-checking` | spell checking words as you type |
| `version control` | general version control features, eg. diff margins |


| Layer name | Description |
|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `auto-completion` | to complete names of functions, symbols, etc. |
| `clojure` | [CIDER](https://docs.cider.mx) with [clj-refactor](https://github.com/clojure-emacs/clj-refactor.el/wiki) and [sayid](http://clojure-emacs.github.io/sayid/) debugger |
| `git` | git version control with [Magit](https://magit.vc/) |
| `markdown` | writing project descriptions in README.md and other markdown files |
| `org-mode` | write project documentaion, organise tasks |
| `syntax-checking` | spell checking words as you type |
| `version control` | general version control features, eg. diff margins |

> ####Note::Edit .spacemacs and add layers
> Open the `.spacemacs` file. Spacemacs provides a mnemonic keybinding for this:
Expand All @@ -33,7 +32,9 @@ Layers are defined in the `dotspacemacs-configuration-layers` section of the `~/
auto-completion-enable-help-tooltip t
auto-completion-enable-snippets-in-popup t
auto-completion-enable-sort-by-usage t)
clojure
(clojure :variables
clojure-enable-sayid t
clojure-enable-clj-refactor t)
emacs-lisp
(git :variables
git-magit-status-fullscreen t
Expand Down

0 comments on commit 5a98cbb

Please sign in to comment.