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, DocumentDiagnosticReportPartialResult, DiagnosticServerCancellationData, DiagnosticRegistrationOptions>;
236
- const partialResult: ProgressType<DocumentDiagnosticReportPartialResult>;
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
  }
@@ -73,6 +73,7 @@ var DocumentDiagnosticReportKind;
73
73
  /**
74
74
  * The document diagnostic request definition.
75
75
  *
76
+ *
76
77
  * @since 3.17.0
77
78
  */
78
79
  var DocumentDiagnosticRequest;
@@ -58,7 +58,8 @@ export type InlineValueParams = WorkDoneProgressParams & {
58
58
  range: Range;
59
59
  /**
60
60
  * Additional information about the context in which inline values information was
61
- * requested. */
61
+ * requested.
62
+ */
62
63
  context: InlineValueContext;
63
64
  };
64
65
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vscode-languageserver-protocol",
3
3
  "description": "VSCode Language Server Protocol implementation",
4
- "version": "3.18.0",
4
+ "version": "3.18.1",
5
5
  "author": "Microsoft Corporation",
6
6
  "license": "MIT",
7
7
  "repository": {