You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I added the log structure to `build/logMessage` in #2022 I must have assumed that the entire BSP notifciation was an extension defined by SourceKit-LSP and didn’t realized that this was actually a change that made the notification non-compliant with BSP. Change it up a little bit to make it compliant again.
* Indicates the beginning of a new task that may receive updates with `StructuredLogReport` or `StructuredLogEnd`
57
+
* payloads.
58
+
*/
59
+
exportinterfaceStructuredLogBegin {
60
+
kind:'begin'
61
+
62
+
/**
63
+
* A succinct title that can be used to describe the task that started this structured.
64
+
*/
65
+
title:string;
66
+
}
67
+
68
+
69
+
/**
70
+
* Adds a new log message to a structured log without ending it.
71
+
*/
72
+
exportinterfaceStructuredLogReport {
73
+
kind:'report';
74
+
}
75
+
76
+
/**
77
+
* Ends a structured log. No more `StructuredLogReport` updates should be sent for this task ID.
78
+
*
79
+
* The task ID may be re-used for new structured logs by beginning a new structured log for that task.
80
+
*/
81
+
exportinterfaceStructuredLogEnd {
82
+
kind:'end';
83
+
}
84
+
```
85
+
41
86
## `build/taskStart`
42
87
43
88
If `data` contains a string value for the `workDoneProgressTitle` key, then the task's message will be displayed in the client as a work done progress with that title.
0 commit comments