scalameta / metals

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

improvement: Recreate classloader if scalafix classloading fails #6516

Closed tgodzik closed 2 weeks ago

tgodzik commented 2 weeks ago

I wasn't able to figure out why this might be happening for people, but usually this happened if scalafix was invoked at a wrong time, running it later would work.

I also added reporting and a potential fix for Scalafix cache.

Related to https://github.com/scalameta/metals/issues/6501