Bringing code navigation to communities
Blog post from GitHub
GitHub has introduced search-based code navigation for the Elixir programming language, marking the first instance of a language community contributing their own code for such functionality. This initiative aims to provide best-in-class support for all programming languages on GitHub by empowering language communities to integrate with GitHub's code navigation systems. By leveraging Tree-sitter grammar tools, contributors can develop and contribute tag queries that help extract essential information from syntax trees for features like jump-to-definition and find-all-references. GitHub encourages community involvement in this process and provides documentation and examples to assist contributors in developing and testing their implementations. This venture differs from GitHub code search, focusing on enhancing the experience of reading code within individual repositories rather than across the entire platform. GitHub is committed to collaborating with language maintainers and contributors to ensure the continuous improvement and relevance of these navigation tools.