News for hackers. Stuff that matters.
Re:Tree Sitter and the Complications of Parsing Languages by Kinrany on Wednesday November 24, 2021 @05:11AM (#29328516)
The IDE could temporarily turn off all syntax highlighting outside the node that has the cursor.
Re:Tree Sitter and the Complications of Parsing Languages by mst on Wednesday November 24, 2021 @06:09AM (#29328835)
Where the cursor is and where my mental focus is don't necessarily match, and it's really the granularity problem - expression level versus statement versus block versus etc. that causes 'mismatch between highlighting and focus' for me at least.

It certainly sounds like an experiment that would be interesting to try, though.