github scalameta/metals v2.0.0-M15
Metals v2.0.0-M15 Gold

pre-release6 hours ago

What's Changed

Features

  • Add textDocument/declaration support for Java and fix overload resolution in go-to-definition by @zielinsky in #8444
  • feature: Support type hierarchy when using only MBT by @tgodzik in #8441
  • Basic implementation for textDocument/documentLink by @odisseus in #8446
  • feature: Add document highlight for Java by @tgodzik in #8522
  • feature: Support call hierarchy in MBT with added Java support by @tgodzik in #8566
  • Add "Generate default constructor" code action for Java by @zielinsky in #8581
  • Add parser-based Java code actions & refactor JavaTrees by @zielinsky in #8589
  • Add missing override annotation diagnostic & quick-fix code action by @zielinsky in #8603
  • Allow to run tests locally without the DAP wrapper for suites in MBT-based builds by @jchyb in #8562
  • Add "Implement all members" code action for Java by @mmikolajczyk-vl in #8598
  • [main-v2] Replace qdox with javac for Javadoc indexing by @rkophs in #8358

Improvements and bugfixes

  • improvement: Schedule recompile after connecting to mbt by @tgodzik in #8452
  • Problem with scala.meta.internal.builds.Digest.digestXml by @snjeza in #8467
  • [MBT] Wrap Bazel target names in quotes when necessary. Add unit tests. by @maksymilianrozanski in #8450
  • Test for quoting plus signs in Bazel target names by @odisseus in #8482
  • Write long Bazel queries into a temporary file by @odisseus in #8454
  • Fix issue with duplicate filenames in MBT-based PC by @jchyb in #8406
  • [MBT] [Gradle] Add support for testFixtures source set by @zielinsky in #8484
  • bugfix: Use fallback compiler for mbt references by @tgodzik in #8483
  • Not able to start a sample Spring Boot application by @snjeza in #8486
  • bugfix: Fix potential null pointer exception by @tgodzik in #8488
  • Don't suggest upgrading to legacy Scala 2.11.12 when already on it by @maksymilianrozanski in #8507
  • Avoid Maven local for Gradle extractor downloads by @zielinsky in #8513
  • Metals doesn't watch *.gradle in gradle modules by @snjeza in #8536
  • docs: Add initial documentation for mbt.json by @tsmaeder in #8400
  • improvement: Improve BSP references when no MBT is available by @tgodzik in #8517
  • bugfix: Allow chaning source path mode to mbt by @tgodzik in #8547
  • Pass the Java home from Metals to the Gradle daemon by @odisseus in #8399
  • Fix MBT test discovery for suites with indirect test parent references by @jchyb in #8550
  • improvement: Add a command to discover all test suites by @tgodzik in #8521
  • bugfix: Allow subtypes for intefaces by @tgodzik in #8560
  • Package-private Class Proposed for Annotation by @snjeza in #8490
  • improvement: Return partial results when cancellation happened by @tgodzik in #8573
  • Exception Looking for JDK by @snjeza in #8575
  • Upload the actual test reports and aggregate falures into a single report by @odisseus in #8432
  • Correct arguments for initialising the MBT server connection by @odisseus in #8585
  • Fix Constructor Completion by @snjeza in #8594
  • Fixed a NullPointerException in Java AST parsing. by @odisseus in #8604
  • Add missing return code action for Java by @zielinsky in #8602
  • Fix test runs in mbt-bazel for BUILD files with multiple test targets by @jchyb in #8582
  • Unnecessary import declaration by @snjeza in #8610
  • improvement: Switch to using MBT for renames by @tgodzik in #8592
  • Add uncheckedSources field to mbt.json, allowing to depend on .gitignored sources by @jchyb in #8340
  • bugfix: Scala 3 actionable diagnostics by @maksymilianrozanski in #8557
  • Improve Javac tasks by @snjeza in #8629

Full Changelog: v2.0.0-M14...v2.0.0-M15

Don't miss a new metals release

NewReleases is sending notifications on new releases.