Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1594 from nemethf/fix-1593
Browse files Browse the repository at this point in the history
doc: contributing: Remove outdated LSP extension
  • Loading branch information
Xanewok committed Nov 22, 2019
2 parents ed77cd7 + f1b1ef9 commit 8142ce1
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,8 @@ the RLS.
### Extensions to the Language Server Protocol

The RLS uses some custom extensions to the Language Server Protocol.

#### RLS to LSP Client

These are all sent from the RLS to an LSP client and are only used to improve
the user experience by showing progress indicators.
These are all sent from the RLS to an LSP client and are only used to
improve the user experience by showing progress indicators.

* `window/progress`: notification, `title: "Building"`. Sent before build starts.
* `window/progress`: notification with `title: "Building"`, repeated for each compile target.
Expand All @@ -347,17 +344,3 @@ the user experience by showing progress indicators.
* `window/progress`: notification, `title: "Indexing"`. Sent before analysis of build starts.
* ... standard LSP `publishDiagnostics`
* `window/progress`: notification, `title: "Indexing"`, `"done": true`. Sent when analysis ends.

#### LSP Client to RLS

The following request is to support Rust specific features.

* `rustDocument/implementations`: request
params: [`TextDocumentPositionParams`]
result: [`Location`]`[]`

List all implementation blocks for a trait, struct, or enum denoted by the
given text document position.

[`TextDocumentPositionParams`]: (https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#textdocumentpositionparams)
[`Location`]: (https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#location)

0 comments on commit 8142ce1

Please sign in to comment.