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: Contributor Documentation/LSP Extensions.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
3
3
SourceKit-LSP extends the LSP protocol in the following ways.
4
4
5
+
To enable some of these extensions, the client needs to communicate that it can support them. To do so, it should pass a dictionary for the `capabilities.experimental` field in the `initialize` request. For each capability to enable, it should pass an entry as follows.
6
+
7
+
```json
8
+
"<capabilityName>": {
9
+
"supported": true
10
+
}
11
+
```
12
+
5
13
## `PublishDiagnosticsClientCapabilities`
6
14
7
15
Added field (this is an extension from clangd that SourceKit-LSP re-exposes):
0 commit comments