This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-08-04
Channels
- # announcements (1)
- # babashka (29)
- # beginners (23)
- # clerk (3)
- # clojure (24)
- # clojure-europe (9)
- # clojure-gamedev (4)
- # clojure-norway (3)
- # clojurescript (11)
- # cursive (4)
- # datomic (10)
- # emacs (4)
- # hyperfiddle (22)
- # lsp (4)
- # missionary (10)
- # off-topic (95)
- # parinfer (11)
- # polylith (11)
- # reitit (16)
- # releases (1)
- # shadow-cljs (9)
I just pushed parstager 1.0.0 to make it work with editors that trim whitespace.
Been using it for a while, and I think it solves the collaboration issue. Funny I didn’t think of it before.
Sometimes I’ll accidentally save clojure files with only parinfer changes. Running parstager
cleans it up quick.
And when I’m reviewing small changes in a large clojure file, the diffs are huge until I run parstager
, and it restores the formatting of all top-level forms I didn’t change.
So, almost 10 years later, parstager fixes parinfer on teams. Has anyone else been using it?
Awesome. It's been some time since I've used parinfer, can I ask what editor(s) would you recommend using parinfer with these days?
I mainly use eraserhd/parinfer-rust in neovim (with conjure for repl). It messes up indentation sometimes when inserting an open-paren, and I lose my undo history fairly often.
I also use Cursive when I need good code navigation features since it's really good at finding usages and opening Java sources.
I haven't noticed any problems with Cursive's implementation of Parinfer, but I use it a lot less.
My daily driver for Clojure is Sublime Text with this plugin for Parinfer: https://github.com/oakmac/sublime-text-parinfer Package control: https://packagecontrol.io/packages/Parinfer The plugin supports Indent and Paren Mode (ie: no Smart Mode), but I don't really notice the difference. I am in Indent mode 99% of the time.