4 ms·
I develop Cursive, an IDE for Clojure code, and I spent a long time integrating parinfer smart mode. It was actually really difficult to do well, I wrote a docu
by lemming 2y ago
I develop Cursive, an IDE for Clojure code, and I spent a long time integrating parinfer smart mode. It was actually really difficult to do well, I wrote a document with feedback about what (among other things I discovered later) that made it hard: https://github.com/parinfer/parinfer.js/wiki/Problems-integrating-parinfer-into-Cursive https://github.com/parinfer/parinfer.js/wiki/Problems-integr.... I subsequently fixed many of those issues, but it was probably the second hardest thing I've integrated into Cursive, after Leiningen.
It's still a bit quirky, but I use it every day and I love it. Even though I'm proficient enough with paredit, parinfer is just so much easier to use. Several users have commented to me that the parinfer integration is the main thing stopping them switching away to a different editor - it really makes that much difference.
- slifin 2y agoThank you I love Parinfer and Cursive
- simongray 2y agoThank you, Colin! Now you mention it, it makes so much sense that you use Parinfer yourself. The implementation is so great and doesn't feel quirky to me (or maybe I just got used to the quirks).
- lemming 2y agoThanks for the kind words, Simon! I think you probably just got used to the quirks :-). The worst ones are around pasting, which is mostly IntelliJ complicating things for parinfer by making a lot of whitespace changes in order to format the code, in addition to pasting it. But there's also all these: https://github.com/cursive-ide/cursive/issues/2945 https://github.com/cursive-ide/cursive/issues/2945. I'm planning to do a round of parinfer fixes soon though. It's so complicated that I can't hold it in my head for long, so I have to load it into my brain cache and then do a batch of fixes at a time.
- Folcon 2y agoGreat to hear, looking forward to seeing those come out :)...