feat: Add Scala language support
Author: ChrisGVECreated May 6, 2026Updated Sep 29, 2026
Summary
Add Scala as a supported language in GitNexus, enabling symbol extraction, import resolution, and call detection for .scala files.
Grammar
- Package:
tree-sitter-scala(^0.24.0) - Compatibility: Works with tree-sitter 0.21.x (current project version)
- Status: Ready to implement — no blockers
Scope
- Language provider registration in
SupportedLanguagesenum - Tree-sitter query patterns for:
- Function/method definitions (
def,val,var) - Class/trait/object definitions
- Import statements
- Function calls
- Function/method definitions (
- Integration tests with fixture project
Notes
I have a working implementation on a fork and can submit a PR if this is welcome.
Source: abhigyanpatwari/GitNexus