Hacker News new | ask | show | jobs
by mkreis 520 days ago
This is really nice, and I am impressed how much effort went into the documentation, to make the demo nice and interactive.

At first I thought this is something new, because it's cool and I haven't heard of it, even though I'm coding in Clojure for about 3 years now. But this project is already 10 years old and hasn't received much attention for the last few years, which is a pity. I wish it was coming with Calva, my favorite Clojure tooling in VS Code.

3 comments

> I wish it was coming with Calva, my favorite Clojure tooling in VS Code.

You have this basically already. When you move forms in/out on the indentation levels, notice how the brackets/parenthesis automatically re-arrange themselves? That means it's working :) https://calva.io/parinfer/

Thanks for the link. Unfortunately it seems it is currently removed due to unclear bugs.
Damn, you're right, I didn't notice the notice, nor am I a daily Calva user.

But so what, is there no automatic balancing of parenthesis in Calva? That seems to diminish the value from the extension by a lot, I couldn't imagine coding Clojure and having to manually balance parenthesis.

Something about VSCode makes it hard to add in. I think it lacks the right APIs.

Also, the main maintainer of Calva doesn’t use Parinfer, and so isn’t very motivated to add it either. But if someone were to contribute it, I imagine he’d be very receptive.

AFAIK Calva does have a Parinfer implementation.