scalameta / metals

Scala language server with rich IDE features 🚀
https://scalameta.org/metals/
Apache License 2.0
2.09k stars 330 forks source link

Compilation progress percentage is always at 0% #5643

Open soronpo opened 1 year ago

soronpo commented 1 year ago

Describe the bug

When I compile my Scala projects the progress indication is stuck at 0%.

Expected behavior

Either make represent a progress or remove the indication completely since it is confusing for newcomers. Metals is using bloop.

Operating system

Windows

Editor/Extension

VS Code

Version of Metals

v1.0.1

Extra context or search terms

No response

tgodzik commented 1 year ago

Thanks for reporting! What is the Scala version you are using? Does it happen on a particular project?

soronpo commented 1 year ago

Scala 3.3.0 I'm compiling this project https://github.com/DFiantHDL/DFiant/tree/scala_opencb but I don't ever remember seeing the progress be anything else than 0%

tgodzik commented 1 year ago

We don't have progress implemented for Scala 3 unfortunately, I don't think it's possible currently, but I should check. I postponed it for a while, but now that most other things are done I will take a look.

soronpo commented 1 year ago

It's better to hide the progress then for Scala 3, IMO

tgodzik commented 1 year ago

I think we are blocked on Dotty itself https://github.com/lampepfl/dotty/issues/13082

I will see if I can push this forward.