Modified atom.io landing page

Slick Clojure Editor Setup with Atom

Jacek Schae
Jan 9, 2018 · 2 min read

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.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store