vscode-languageserver-protocol 3.18.0 → 3.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -224,16 +224,35 @@ export type DocumentDiagnosticReportPartialResult = {
|
|
|
224
224
|
[uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
|
|
225
225
|
};
|
|
226
226
|
};
|
|
227
|
+
/**
|
|
228
|
+
* The document diagnostic report used when reporting partial result.
|
|
229
|
+
*
|
|
230
|
+
* When using partial results, the first literal sent needs to be a
|
|
231
|
+
* DocumentDiagnosticReport providing the diagnostics on the document
|
|
232
|
+
* followed by n DocumentDiagnosticReportPartialResult literals providing
|
|
233
|
+
* the diagnostics for related documents.
|
|
234
|
+
*
|
|
235
|
+
* ```
|
|
236
|
+
* DocumentDiagnosticReport
|
|
237
|
+
* DocumentDiagnosticReportPartialResult
|
|
238
|
+
* DocumentDiagnosticReportPartialResult
|
|
239
|
+
* ...
|
|
240
|
+
* ```
|
|
241
|
+
*
|
|
242
|
+
* @since 3.18.1
|
|
243
|
+
*/
|
|
244
|
+
export type DocumentDiagnosticReportProgress = DocumentDiagnosticReport | DocumentDiagnosticReportPartialResult;
|
|
227
245
|
/**
|
|
228
246
|
* The document diagnostic request definition.
|
|
229
247
|
*
|
|
248
|
+
*
|
|
230
249
|
* @since 3.17.0
|
|
231
250
|
*/
|
|
232
251
|
export declare namespace DocumentDiagnosticRequest {
|
|
233
252
|
const method: 'textDocument/diagnostic';
|
|
234
253
|
const messageDirection: MessageDirection;
|
|
235
|
-
const type: ProtocolRequestType<DocumentDiagnosticParams, DocumentDiagnosticReport,
|
|
236
|
-
const partialResult: ProgressType<
|
|
254
|
+
const type: ProtocolRequestType<DocumentDiagnosticParams, DocumentDiagnosticReport, DocumentDiagnosticReportProgress, DiagnosticServerCancellationData, DiagnosticRegistrationOptions>;
|
|
255
|
+
const partialResult: ProgressType<DocumentDiagnosticReportProgress>;
|
|
237
256
|
type HandlerSignature = RequestHandler<DocumentDiagnosticParams, DocumentDiagnosticReport, void>;
|
|
238
257
|
const capabilities: CM<"textDocument.diagnostic", "diagnosticProvider">;
|
|
239
258
|
}
|