Modified atom.io landing page

Slick Clojure Editor Setup with Atom

Clojure has an amazing tooling and support for a couple of editors including — Emacs and Cursive. Still, every time when I open them they feel … heavy. I spend quite a bit of time researching different options and even though I love VSCode I found peace with Atom.

Couple of things to consider when we talk about editing Clojure:

  1. Parentheses — to not worry about inference/coloring of the parens
  2. REPL — to evaluate functions
  3. Linter — to highlight warnings and errors
  4. Formatter — to not worry about code formatting

This guide is based on atom tools guide from clojurescript.org website.

Installation

brew cask install atom

Packages

Parens

apm install parinfer lisp-paredit rainbow-delimiters

Credits:

parinfer — Shaun LeBron and Chris Oakman

lisp-paredit — Jon Spalding

rainbow-delimiters — Mounier Florian

clojurescript.org — Atom

REPL

apm install proto-repl ink

Credits:

proto-repl — Jason Gilman

ink — JunoLab

Linter

brew install candid82/brew/jokerapm install linter-joker

Credits:

joker — Roman Bataev

linter-joker-Ryan De La Torre

Formatter

apm install atom-beautify

Credits:

atom-beautify — Glavin Wiechert

node-cljfmt —Case Nelson

cljfmt — James Reeves

Look and Feel

apm install atom-file-icons hasklig

Credits:

atom-file-icons — Donovan Hiland

atom-hasklig — adilparvez

hasklig — Ian Tuomi

If you enjoyed this article, and would like to be notified when I release similar story consider following me on medium and twitter.