
TL;DR
Databricks has open-sourced Metals v2, a language server for Scala and Java, enabling efficient navigation of large codebases with lightweight editors. This shift has led to a significant increase in Cursor adoption among engineers, reducing reliance on IntelliJ.
✦ Why It Matters
Consider adopting Metals v2 to improve your development workflow with large Java and Scala codebases.
Key Takeaways
How It Works
Metals v2 utilizes a content-addressed index called the mbt index, which allows for quick access to workspace symbols and efficient navigation. It employs a dual-mode Scala compiler to handle large codebases, enabling immediate code intelligence before build synchronization.
For Java, it integrates directly with javac APIs, allowing for seamless navigation and diagnostics while maintaining performance across extensive code files.