This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-01
Channels
- # atom-editor (11)
- # babashka (25)
- # beginners (142)
- # boot (9)
- # calva (3)
- # cider (19)
- # clara (15)
- # clj-kondo (6)
- # cljs-dev (20)
- # clojars (11)
- # clojure (164)
- # clojure-dev (9)
- # clojure-europe (6)
- # clojure-italy (17)
- # clojure-nl (3)
- # clojure-spec (19)
- # clojure-sweden (10)
- # clojure-uk (23)
- # clojurescript (34)
- # code-reviews (31)
- # conjure (20)
- # cursive (14)
- # datomic (54)
- # emacs (1)
- # fulcro (51)
- # graalvm (24)
- # graphql (6)
- # helix (3)
- # jobs (3)
- # kaocha (1)
- # malli (2)
- # meander (15)
- # off-topic (81)
- # pathom (2)
- # re-frame (43)
- # reagent (26)
- # reitit (1)
- # releases (1)
- # sci (12)
- # shadow-cljs (29)
- # sql (22)
- # timbre (3)
- # tools-deps (15)
In my quest of an editor, I’m now evaluating Atom. I’ve used Vim, Emacs, VSCode in the past 🙂 Any suggested packages for Clojure dev? I’ve installed lisp-paredit, chlorine, linter-kondo… what else are people using?
Hi @U7PBP4UVA i use • lsp-clojure: https://github.com/snoe/clojure-lsp / https://atom.io/packages/clojure-lsp-adapter • parinfer https://atom.io/packages/parinfer • https://atom.io/packages/bracket-colorizer • https://atom.io/packages/chlorine
I like parinfer as well as lisp-paredit. Parinfer takes some getting used to, and I've seen some weirdness when pasting code (you have to switch from smart to paren mode, paste, and then switch back), but I really like the simplicity of paren-grouping following indentation structure. Here's the full list of stuff I have in my ~/.atom/packages
folder:
README.md chlorine linter-kondo
advanced-open-file git-plus linter-ui-default
atom-clock intentions lisp-paredit
autocomplete-cfml language-cfml parinfer
bracket-colorizer linter
busy-signal linter-joker
(ignore the CFML stuff -- I still occasionally have to edit some legacy ColdFusion code!)
I guess I could remove Joker since I switched to clj-kondo.
Turns out I had already disabled it, but hadn't uninstalled it. I wasn't using it.
Also, I use Cognitect's REBL side-by-side with Atom all day long and have specific code and key bindings set up for that https://github.com/seancorfield/atom-chlorine-setup
Turns out I had already disabled it, but hadn't uninstalled it. I wasn't using it.
I’m so used to a nicer auto-indenting/auto-formatting story. Emacs and Calva have some nice accordances like collapsing trailing parens, column-aligning let bindings... other than running the file through clj-fmt, is there anything else?
parinfer will do some amount of auto-formatting when opening a file, including collapsing trailing parens. The let
bindings thing is something I prefer manual control over (and don't column-align all bindings anyway -- it depends on how it looks, how long the symbols are, how long the expressions are).
I'm more likely to "tuck" a binding form if either the symbol or destructuring is long or the form itself is wide:
(let [[something another-thing]
(this is some complex form)]
...)