diff --git a/metals/src/main/scala/scala/meta/internal/metals/Compilations.scala b/metals/src/main/scala/scala/meta/internal/metals/Compilations.scala index 31134a6ccc1..14db0a6943c 100644 --- a/metals/src/main/scala/scala/meta/internal/metals/Compilations.scala +++ b/metals/src/main/scala/scala/meta/internal/metals/Compilations.scala @@ -264,9 +264,8 @@ final class Compilations( if ( userConfiguration().verboseCompilation && (connection.isBloop || connection.isScalaCLI) ) { - params.setArguments(List("--verbose").asJava) - } - params.setArguments(List("--best-effort").asJava) + params.setArguments(List("--verbose", "--best-effort").asJava) + } else { params.setArguments(List("--best-effort").asJava) } targets.foreach { target => isCompiling(target) = true }