Skip to main content

Metals v1.3.4 - Thallium

· 3 min read
Katarzyna Marek
Katarzyna Marek

We're happy to announce the release of Metals v1.3.4, which above all improves the experience of working with non-compiling Scala 3 projects.

Commits since last release31
Merged PRs21
Contributors6
Closed issues12
New features2

For full details: https://github.com/scalameta/metals/milestone/70?closed=1

Metals is a language server for Scala that works with VS Code, Vim, Emacs, Zed, Helix and Sublime Text. Metals is developed at the Scala Center and VirtusLab with the help from contributors from the community.

TL;DR

Check out https://scalameta.org/metals/, and give Metals a try!

Scala 3 best effort compilation

Starting with this release Metals will take advantage of Scala 3 best effort compilation. This should greatly improve the IDE experience of working with non-compiling code. With best effort compilation Scala 3 compiler will produce a tasty-like format files that can also include partially broken trees even when a module does not compile. Those files, similarly to normal tasty files, will be later consumed by the presentation compiler providing most up to date information about the project. This great feature has been delivered by jchyb and will be available starting with Scala 3.5.0.

Sort workspace members with the same name by frequency

Workspace member completions with the same name are now sorted by their usage frequency, so the symbols more often referenced in project appear higher on the list of completions. This cool feature was added by Temurlock.

sort-by-freq

Miscellaneous

  • fix: show zero extent references for implicits when using pc
  • fix: correctly handle .scala files with shebang
  • fix: suggest import for maven/gradle when defaultBspToBuildTool = true
  • fix: only detect 100% sure test names tgodzik
  • fix: correctly prefix scope completions when conflicting for Scala 2

Contributors

Big thanks to everybody who contributed to this release or reported an issue!

$ git shortlog -sn --no-merges v1.3.3..v1.3.4
11 Simon Parten
7 Katarzyna Marek
7 Tomasz Godzik
4 Scalameta Bot
1 Jan Chyb
1 temurlock

Merged PRs

v1.3.4 (2024-07-24)

Full Changelog

Merged pull requests: