Describe the bug
Project setup:
- SBT 1.12.1
- Scala 3.8.1
- Metals v2.0.0-M9 & 2.0.0-M9-119-1ea725fc-SNAPSHOT
- Zed editor v0.235.0 with Scala extension v0.2.2
After opening a fresh project checkout in the Metals logs I can see that the new MBT import seems to have finished and was really fast:
2026.04.24 13:43:10 INFO mbt-v2: indexing 4014 files
2026.04.24 13:43:10 WARN [default] no logical packages found in source path (mode: MBT)
2026.04.24 13:43:13 INFO time: mbt-v2 loaded index for 4014 files in 2.72s
Clicking around the project at least some of the "go to definition" calls work. However, there are some issues:
- There's a persistent "Sync (0%)" progress message visible in the LSP status bar, never going away after 15+ minutes. In the LSP logs I see that Metals is indeed still sending
$/progress request to the editor every second.
- There's 1000+ error diagnostics reported. It's hard to identify everything relevant, especially since some of it cascades, but the top main problems seem to be:
- Unrecognized imports from third-party dependencies outside of the Scala and Java standard library:
import io.circe |object circe is not a member of package io (scala presentation compiler)
- Unrecognized star (
*) imports, even from the internal project sources or from the Scala library:
import scala.jdk.CollectionConverters.* |value * is not a member of object scala.jdk.CollectionConverters (scala presentation compiler)
- Unrecognized imports from the companion objects:
import com.package.SomeObject.SomeEnum |value SomeEnum is not a member of object com.package.SomeObject (scala presentation compiler)
import com.package.SomeObject2.myFunction |value myFunction is not a member of object com.package.SomeObject2
There might be more, but I suspect most, if not all, errors stem from the missing types. 👍
Expected behavior
No response
Operating system
macOS
Editor/Extension
Other
Version of Metals
v2.0.0-M9, 2.0.0-M9-119-1ea725fc-SNAPSHOT
Scala version/s
3.8.1
Extra context or search terms
No response
Describe the bug
Project setup:
After opening a fresh project checkout in the Metals logs I can see that the new MBT import seems to have finished and was really fast:
Clicking around the project at least some of the "go to definition" calls work. However, there are some issues:
$/progressrequest to the editor every second.import io.circe|object circe is not a member of package io (scala presentation compiler)*) imports, even from the internal project sources or from the Scala library:import scala.jdk.CollectionConverters.*|value * is not a member of object scala.jdk.CollectionConverters (scala presentation compiler)import com.package.SomeObject.SomeEnum|value SomeEnum is not a member of object com.package.SomeObject (scala presentation compiler)import com.package.SomeObject2.myFunction|value myFunction is not a member of object com.package.SomeObject2There might be more, but I suspect most, if not all, errors stem from the missing types. 👍
Expected behavior
No response
Operating system
macOS
Editor/Extension
Other
Version of Metals
v2.0.0-M9, 2.0.0-M9-119-1ea725fc-SNAPSHOT
Scala version/s
3.8.1
Extra context or search terms
No response