Skip to content

1.9.3

Compare
Choose a tag to compare
@eed3si9n eed3si9n released this 24 Jul 06:19
· 58 commits to 1.9.x since this release
v1.9.3

Actionable diagnostics (aka quickfix)

Actionable diagnostics, or quickfix, is an area in Scala tooling that's been getting attention since Chris Kipp presented it in the March 2023 Tooling Summit. Chris has written the roadmap and sent sbt/sbt#7242 that kickstarted the effort, but now there's been steady progress in Build Server Protocol, Dotty, Scala 2.13, IntelliJ, Zinc, etc. Metals 1.0.0, for example, is now capable of surfacing code actions as a quickfix.

sbt 1.9.3 adds a new interface called AnalysisCallback2 to relay code actions from the compiler(s) to Zinc's Analysis file. Future version of Scala 2.13.x (and hopefully Scala 3) will release with proper code actions, but as a demo I've implemented a code action for procedure syntax usages even on current Scala 2.13.11 with -deprecation flag.

This was contributed by Eugene Yokota (@eed3si9n) in zinc#1226. Special thanks to @lrytz for identifying this issue in zinc#1214.

other updates

  • Adds M1/M2/Aarch64 build of sbtn into the installer by @julienrf in #7329
  • Fixes scripted tests timing out after 5 minutes by @eed3si9n in #7336

Full Changelog: v1.9.2...v1.9.3