top | item 42767785

(no title)

mkreis | 1 year 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.

discuss

order

diggan|1 year ago

> 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/

mkreis|1 year ago

Thanks for the link. Unfortunately it seems it is currently removed due to unclear bugs.

fnordsensei|1 year ago

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.

simongray|1 year ago

AFAIK Calva does have a Parinfer implementation.