databricks Databricks Blog ·

Databricks Open-Sources Metals v2 for Scala & Java Monorepo Support

bloginfradatabricksgaengineer
feature

Databricks has open-sourced Metals v2, a re-engineered Java and Scala language server designed to provide fast code intelligence for multi-million line monorepos. This enables lightweight editors like Cursor, VS Code, and Neovim to offer robust JVM development experiences. The server optimizes for rapid startup and reliable codebase orientation, crucial for current AI-assisted development workflows. Metals v2 is available today in these editors and allowed Databricks to consolidate its internal JVM development away from IntelliJ.

  • Open-sourcing Metals v2 for large Java/Scala codebases
  • Designed for speed in monorepos and AI-assisted workflows
Features (1)
  • Open-sourcing Metals v2 for large Java/Scala codebases

    Databricks has open-sourced Metals v2, a re-engineered Java and Scala language server. It provides high-performance code intelligence, enabling lightweight editors like Cursor, VS Code, and Neovim to effectively navigate multi-million line monorepos.

Notes (1)
  • Designed for speed in monorepos and AI-assisted workflows

    Metals v2 was developed to address challenges in large-scale monorepos, offering fast startup and reliable codebase orientation essential for AI-assisted development. Databricks internally migrated its JVM development workflow to Cursor using Metals v2, reducing IntelliJ reliance by consolidating investments in one unified IDE platform. It achieves this with a build-free repo index and optimized compiler pipelines.

Read the original announcement →

https://www.databricks.com/blog/open-sourcing-metals-v2-databricks-java-and-scala-language-server-multi-million-line-codebases

Related releases