mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 11:07:30 +02:00
support test compile on saving in vscode
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user