Skip to content

Commit f1b1ef9

Browse files
committed
doc: contributing: Remove outdated LSP extension
rustDocument/implementations is not in use. Fix rust-lang#1593 @Xanewok: > We're not using it anymore since rust-lang#936 but the documentation is outdate.
1 parent 5db91c7 commit f1b1ef9

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

contributing.md

+2-19
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,8 @@ the RLS.
333333
### Extensions to the Language Server Protocol
334334

335335
The RLS uses some custom extensions to the Language Server Protocol.
336-
337-
#### RLS to LSP Client
338-
339-
These are all sent from the RLS to an LSP client and are only used to improve
340-
the user experience by showing progress indicators.
336+
These are all sent from the RLS to an LSP client and are only used to
337+
improve the user experience by showing progress indicators.
341338

342339
* `window/progress`: notification, `title: "Building"`. Sent before build starts.
343340
* `window/progress`: notification with `title: "Building"`, repeated for each compile target.
@@ -347,17 +344,3 @@ the user experience by showing progress indicators.
347344
* `window/progress`: notification, `title: "Indexing"`. Sent before analysis of build starts.
348345
* ... standard LSP `publishDiagnostics`
349346
* `window/progress`: notification, `title: "Indexing"`, `"done": true`. Sent when analysis ends.
350-
351-
#### LSP Client to RLS
352-
353-
The following request is to support Rust specific features.
354-
355-
* `rustDocument/implementations`: request
356-
params: [`TextDocumentPositionParams`]
357-
result: [`Location`]`[]`
358-
359-
List all implementation blocks for a trait, struct, or enum denoted by the
360-
given text document position.
361-
362-
[`TextDocumentPositionParams`]: (https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#textdocumentpositionparams)
363-
[`Location`]: (https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#location)

0 commit comments

Comments
 (0)