Skip to content

Commit

Permalink
bugfix: Log message by default
Browse files Browse the repository at this point in the history
Turns out it was actually set in a totally different place, which I haven't realized.
  • Loading branch information
tgodzik committed Dec 20, 2024
1 parent a4a6122 commit 887c8e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ object StatusBarConfig {
)
def bspDefault =
new StatusBarConfig(
System.getProperty("metals.bsp-status-bar", "show-message")
System.getProperty("metals.bsp-status-bar", "log-message")
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import scala.meta.internal.metals.Icons
import scala.meta.internal.metals.Messages
import scala.meta.internal.metals.MetalsEnrichments._
import scala.meta.internal.metals.MetalsServerConfig
import scala.meta.internal.metals.StatusBarConfig

import bill.Bill
import ch.epfl.scala.bsp4j.BuildTargetIdentifier
Expand All @@ -18,6 +19,7 @@ class ServerLivenessMonitorLspSuite extends BaseLspSuite("liveness-monitor") {
MetalsServerConfig.default.copy(
metalsToIdleTime = Duration("3m"),
pingInterval = pingInterval,
bspStatusBar = StatusBarConfig.showMessage,
)

test("handle-not-responding-server") {
Expand Down

0 comments on commit 887c8e3

Please sign in to comment.