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
Copy file name to clipboardExpand all lines: _specifications/lsp/3.18/metaModel/metaModel.json
+59-4Lines changed: 59 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8736,6 +8736,41 @@
8736
8736
"since": "3.18.0",
8737
8737
"proposed": true
8738
8738
},
8739
+
{
8740
+
"name": "textDocument",
8741
+
"type": {
8742
+
"kind": "literal",
8743
+
"value": {
8744
+
"properties": [
8745
+
{
8746
+
"name": "diagnostic",
8747
+
"type": {
8748
+
"kind": "literal",
8749
+
"properties": [
8750
+
{
8751
+
"name": "markupMessageSupport",
8752
+
"type": {
8753
+
"kind": "base",
8754
+
"name": "boolean"
8755
+
},
8756
+
"optional": true,
8757
+
"documentation": "Whether the server supports `MarkupContent` in diagnostic messages.",
8758
+
"since": "3.18.0",
8759
+
"proposed": true
8760
+
}
8761
+
]
8762
+
},
8763
+
"optional": true,
8764
+
"documentation": "Capabilities specific to the diagnostic pull model.\n\n@since 3.18.0",
8765
+
"since": "3.18.0"
8766
+
}
8767
+
]
8768
+
}
8769
+
},
8770
+
"optional": true,
8771
+
"documentation": "Text document specific server capabilities.\n\n@since 3.18.0\n@proposed",
8772
+
"since": "3.18.0"
8773
+
},
8739
8774
{
8740
8775
"name": "workspace",
8741
8776
"type": {
@@ -8920,10 +8955,19 @@
8920
8955
{
8921
8956
"name": "message",
8922
8957
"type": {
8923
-
"kind": "base",
8924
-
"name": "string"
8958
+
"kind": "or",
8959
+
"items": [
8960
+
{
8961
+
"kind": "base",
8962
+
"name": "string"
8963
+
},
8964
+
{
8965
+
"kind": "reference",
8966
+
"name": "MarkupContent"
8967
+
}
8968
+
]
8925
8969
},
8926
-
"documentation": "The diagnostic's message. It usually appears in the user interface"
8970
+
"documentation": "The diagnostic's message. It usually appears in the user interface.\n\n@since 3.18.0 - support for `MarkupContent`. This is guarded by the client capability `textDocument.diagnostic.markupMessageSupport`."
8927
8971
},
8928
8972
{
8929
8973
"name": "tags",
@@ -9388,7 +9432,7 @@
9388
9432
"name": "Diagnostic"
9389
9433
}
9390
9434
},
9391
-
"documentation": "An array of diagnostics known on the client side overlapping the range provided to the\n`textDocument/codeAction` request. They are provided so that the server knows which\nerrors are currently presented to the user for the given range. There is no guarantee\nthat these accurately reflect the error state of the resource. The primary parameter\nto compute code actions is the provided range."
9435
+
"documentation": "An array of diagnostics known on the client side overlapping the range provided to the\n`textDocument/codeAction` request. They are provided so that the server knows which\nerrors are currently presented to the user for the given range. There is no guarantee\nthat these accurately reflect the error state of the resource. The primary parameter\nto compute code actions is the provided range.\n\nNote that the client should check the `textDocument.diagnostic.markupMessageSupport` server capability before sending diagnostics with markup messages to a server."
9392
9436
},
9393
9437
{
9394
9438
"name": "only",
@@ -12870,6 +12914,17 @@
12870
12914
},
12871
12915
"optional": true,
12872
12916
"documentation": "Whether the clients supports related documents for document diagnostic pulls."
12917
+
},
12918
+
{
12919
+
"name": "markupMessageSupport",
12920
+
"type": {
12921
+
"kind": "base",
12922
+
"name": "boolean"
12923
+
},
12924
+
"optional": true,
12925
+
"documentation": "Whether the client supports `MarkupContent` in diagnostic messages.",
12926
+
"since": "3.18.0",
12927
+
"proposed": true
12873
12928
}
12874
12929
],
12875
12930
"documentation": "Client capabilities specific to diagnostic pull requests.\n\n@since 3.17.0",
0 commit comments