Skip to content

Commit

Permalink
Update documentation on workspace/textDocumentContent
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 4, 2024
1 parent 9702a28 commit dd7669a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Contributor Documentation/LSP Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,9 @@ export interface PeekDocumentsResult {
## `workspace/textDocumentContent`
Request from the client to the server asking for contents of a URI having a custom scheme.
For example: "sourcekit-lsp:"
Request from the client to the server for querying the contents of a document, potentially using a custom URI scheme (such as `sourcekit-lsp:`). This closely models the proposed LSP 3.18 request of the same name, thus can be removed once LSP 3.18 has been stabilized.
Enable the experimental client capability `"workspace/textDocumentContent"` so that the server responds with reference document URLs for certain requests or commands whenever possible.
Currently requires enabling the experimental client capability `"workspace/textDocumentContent"` to have the server respond with custom `sourcekit-lsp:` URIs (e.g. in macro expansion requests).
- params: `TextDocumentContentParams`
Expand Down

0 comments on commit dd7669a

Please sign in to comment.