this seems ok so far: https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2 folks tried it or anything similar?
There is one built in to Calva. 😃 It is Clojure only, for good and bad.
ah, much appreciated - thanks for pointing that out :)
It is Tonsky's colorizer, that he couldn't maintain any more, so now we maintain it. And we have improved on it quite a bit as well.
Actually, I think his extension is still available on the marketplace. Clojure Warrior. It has most of my enhancements.
(In case you want to use it w/o having to bring all of Calva)
tnx! i'm thinking of comparing the approaches from calva / clojure warrior with that of bracket pair colorizer 2. the latter has this interesting claim:
v2 Uses the same bracket parsing engine as VSCode, greatly increasing speed and accuracy
What could that parsing engine be? And I wonder if it means the vscode provides an API for it, or that they are just using the same tech...
am curious too -- hopefully investigation will turn up some answers 🙂
I'm eager to hear about how it compares with Clojure Warrior in any case. I am considering using Calva's Clojure parser instead for it.
As it is now, Calva parses the buffer twice (actually often more than that) for structural editing and for colorizing.
i guess it would be nice if that was only done once?
At least fewer kittens would have to die.
sounds like worthwhile motivation 😉