Metals v1.3.4 - Thallium
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 release | 31 |
Merged PRs | 21 |
Contributors | 6 |
Closed issues | 12 |
New features | 2 |
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.
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)
Merged pull requests:
- fix: correctly prefix scope completions when conflicting for Scala 2 #6615 (kasiaMarek)
- bugfix: Only detect 100% sure test names #6618 (tgodzik)
- bugfix: Retry deleting Bloop folders #6614 (tgodzik)
- fix: suggest import for maven/gradle when
defaultBspToBuildTool = true
#6603 (kasiaMarek) - fix: correctly handle
.scala
with shebang #6602 (kasiaMarek) - fix: by-max on empty #6610 (kasiaMarek)
- build(deps): Update h2 from 2.2.224 to 2.3.230 #6605 (scalameta-bot)
- build(deps): Update cli_3, scala-cli-bsp from 1.4.0 to 1.4.1 #6609 (scalameta-bot)
- build(deps): Update ammonite-util from 3.0.0-M2-13-23a8ef64 to 3.0.0-M2-15-9bed9700 #6606 (scalameta-bot)
- feature: Add support for Scala 3's Best Effort compilation #5219 (jchyb)
- chore: remove some deprecations #6600 (kasiaMarek)
- test: fix
implicit-args-3
test #6596 (kasiaMarek) - improvement: sorting workspace members with same name by frequency #6393 (Temurlock)
- Range selection for scala 3 #6485 (Quafadas)
- fix: show zero extent references when using pc #6583 (kasiaMarek)
- improvement: Add supported by section #6520 (tgodzik)
- chore: Add support for Scala 3.3.4-RC1 #6591 (tgodzik)
- build(deps): Update jsoup from 1.17.2 to 1.18.1 #6585 (scalameta-bot)
- chore: Update mdoc to 2.5.4 #6523 (tgodzik)
- bugfix: Fix release title #6590 (tgodzik)
- docs: Add release notes for Metals 1.3.3 #6578 (tgodzik)