Skip to content

Commit

Permalink
Add status to every BspServerType
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Dec 14, 2023
1 parent 61180bb commit e5e5dad
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ sealed abstract class BspServerType(

object BspServerType {
// https://github.com/JetBrains/bazel-bsp#easy-way-coursier
// Status: waiting for https://youtrack.jetbrains.com/issue/BAZEL-616
case object Bazel
extends BspServerType(
connectionDetailsCommand = Nel.of(
Expand All @@ -38,36 +39,39 @@ object BspServerType {
)

// https://bleep.build/
// Status: waiting for https://github.com/scalacenter/bloop/pull/2197 to propagate to bleep
case object Bleep
extends BspServerType(
connectionDetailsCommand = Nel.of("bleep", "setup-ide"),
connectionDetailsName = "bleep.json"
)

// https://github.com/microsoft/build-server-for-gradle
// waiting for https://github.com/microsoft/build-server-for-gradle/issues/115
// Status: waiting for https://github.com/microsoft/build-server-for-gradle/issues/115
case object Gradle
extends BspServerType(
connectionDetailsCommand = Nel.one("???"),
connectionDetailsName = "???"
)

// https://com-lihaoyi.github.io/mill/mill/Plugin_BSP.html
// Status: working
case object Mill
extends BspServerType(
connectionDetailsCommand = Nel.of("mill", "mill.bsp.BSP/install"),
connectionDetailsName = "mill-bsp.json"
)

// https://www.scala-sbt.org
// waiting for https://github.com/sbt/sbt/issues/6957
// Status: waiting for https://github.com/sbt/sbt/issues/6957
case object Sbt
extends BspServerType(
connectionDetailsCommand = Nel.of("sbt", "bspConfig"),
connectionDetailsName = "sbt.json"
)

// https://scala-cli.virtuslab.org/docs/commands/setup-ide#ide-support-internals
// Status: waiting for https://github.com/scalacenter/bloop/pull/2197 to propagate to Scala CLI
case object ScalaCli
extends BspServerType(
connectionDetailsCommand = Nel.of("scala-cli", "setup-ide", "."),
Expand Down

0 comments on commit e5e5dad

Please sign in to comment.