src/Tools/VSCode/src/channel.scala
changeset 64675 c557279d93f2
parent 64658 fb42c780d903
child 64686 7888be4fa496
equal deleted inserted replaced
64673:b5965890e54d 64675:c557279d93f2
    97     display_message(Protocol.MessageType.Error, message, show)
    97     display_message(Protocol.MessageType.Error, message, show)
    98   def warning(message: String, show: Boolean = true): Unit =
    98   def warning(message: String, show: Boolean = true): Unit =
    99     display_message(Protocol.MessageType.Warning, message, show)
    99     display_message(Protocol.MessageType.Warning, message, show)
   100   def writeln(message: String, show: Boolean = true): Unit =
   100   def writeln(message: String, show: Boolean = true): Unit =
   101     display_message(Protocol.MessageType.Info, message, show)
   101     display_message(Protocol.MessageType.Info, message, show)
       
   102 
       
   103 
       
   104   /* diagnostics */
       
   105 
       
   106   def diagnostics(uri: String, diagnostics: List[Protocol.Diagnostic]): Unit =
       
   107     write(Protocol.PublishDiagnostics(uri, diagnostics))
   102 }
   108 }