From 77ffbe896d461b98bab262b12ca86bb3045c7e88 Mon Sep 17 00:00:00 2001 From: tmiyamon Date: Fri, 16 Mar 2018 18:03:52 +0900 Subject: [PATCH] support test compile on saving in vscode --- .../main/scala/sbt/internal/server/LanguageServerProtocol.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/scala/sbt/internal/server/LanguageServerProtocol.scala b/main/src/main/scala/sbt/internal/server/LanguageServerProtocol.scala index ce1131d0f..77314890a 100644 --- a/main/src/main/scala/sbt/internal/server/LanguageServerProtocol.scala +++ b/main/src/main/scala/sbt/internal/server/LanguageServerProtocol.scala @@ -38,7 +38,7 @@ private[sbt] trait LanguageServerProtocol extends CommandChannel { log.debug(s"onNotification: $notification") notification.method match { case "textDocument/didSave" => - append(Exec(";compile; collectAnalyses", None, Some(CommandSource(name)))) + append(Exec(";Test/compile; collectAnalyses", None, Some(CommandSource(name)))) case u => log.debug(s"Unhandled notification received: $u") } }