News for hackers. Stuff that matters.
Re:How to Get Started with Tree-Sitter by kfir on Sunday May 28, 2023 @06:19PM (#36108331)
I believe this paper has an answer to your question - https://queue.acm.org/detail.cfm?id=3487022
Re:How to Get Started with Tree-Sitter by avodonosov on Sunday May 28, 2023 @06:46PM (#36108525)
Thank you very much for the link.

I don't see an answer in there, though.

They use tagging (as described also here: https://tree-sitter.github.io/tree-sitter/code-navigation-sy...). From both docs I assume `tree-sitter tags` works out of box for any language that has a parser. (Since neither doc instructs to save a custom config for tag extraction query, I assume every language plugin provides tagging queries).