Fork me on GitHub
#parinfer
<
2024-08-04
shaunlebron06:08:07

I just pushed parstager 1.0.0 to make it work with editors that trim whitespace.

👏 1
shaunlebron06:08:35

Been using it for a while, and I think it solves the collaboration issue. Funny I didn’t think of it before.

shaunlebron06:08:48

Sometimes I’ll accidentally save clojure files with only parinfer changes. Running parstager cleans it up quick.

shaunlebron06:08:18

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.

shaunlebron06:08:03

So, almost 10 years later, parstager fixes parinfer on teams. Has anyone else been using it?

mikeb16:08:22

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?

shaunlebron18:08:44

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.

shaunlebron18:08:31

I also use Cursive when I need good code navigation features since it's really good at finding usages and opening Java sources.

shaunlebron18:08:35

I haven't noticed any problems with Cursive's implementation of Parinfer, but I use it a lot less.

chrisoakman14:08:28

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.