Hacker News new | ask | show | jobs
by kfir 1110 days ago
I believe this paper has an answer to your question - https://queue.acm.org/detail.cfm?id=3487022
1 comments

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).