textDocument

class Object
trait Matchable
class Any

Type members

Classlikes

object codeAction extends LSPRequest

A request to provide commands for the given text document and range.

A request to provide commands for the given text document and range.

Source:
requests.scala
object codeLens extends LSPRequest

A request to provide code lens for the given text document.

A request to provide code lens for the given text document.

Source:
requests.scala

A request to list all presentation for a color. The request's parameter is of type ColorPresentationParams the response is of type ColorInformation[] or a Thenable that resolves to such.

A request to list all presentation for a color. The request's parameter is of type ColorPresentationParams the response is of type ColorInformation[] or a Thenable that resolves to such.

Source:
requests.scala
object completion extends LSPRequest

Request to request completion at a given text document position. The request's parameter is of type TextDocumentPosition the response is of type CompletionItem[] or CompletionList or a Thenable that resolves to such.

Request to request completion at a given text document position. The request's parameter is of type TextDocumentPosition the response is of type CompletionItem[] or CompletionList or a Thenable that resolves to such.

The request can delay the computation of the detail and documentation properties to the completionItem/resolve request. However, properties that are needed for the initial sorting and filtering, like sortText, filterText, insertText, and textEdit, must not be changed during resolve.

Source:
requests.scala
object declaration extends LSPRequest

A request to resolve the type definition locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type Declaration or a typed array of DeclarationLink or a Thenable that resolves to such.

A request to resolve the type definition locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type Declaration or a typed array of DeclarationLink or a Thenable that resolves to such.

Source:
requests.scala
object definition extends LSPRequest

A request to resolve the definition location of a symbol at a given text document position. The request's parameter is of type [TextDocumentPosition] (#TextDocumentPosition) the response is of either type Definition or a typed array of DefinitionLink or a Thenable that resolves to such.

A request to resolve the definition location of a symbol at a given text document position. The request's parameter is of type [TextDocumentPosition] (#TextDocumentPosition) the response is of either type Definition or a typed array of DefinitionLink or a Thenable that resolves to such.

Source:
requests.scala
object diagnostic extends LSPRequest

The document diagnostic request definition.

The document diagnostic request definition.

Since:

3.17.0

Source:
requests.scala
object didChange extends LSPNotification

The document change notification is sent from the client to the server to signal changes to a text document.

The document change notification is sent from the client to the server to signal changes to a text document.

Source:
requests.scala
object didClose extends LSPNotification

The document close notification is sent from the client to the server when the document got closed in the client. The document's truth now exists where the document's uri points to (e.g. if the document's uri is a file uri the truth now exists on disk). As with the open notification the close notification is about managing the document's content. Receiving a close notification doesn't mean that the document was open in an editor before. A close notification requires a previous open notification to be sent.

The document close notification is sent from the client to the server when the document got closed in the client. The document's truth now exists where the document's uri points to (e.g. if the document's uri is a file uri the truth now exists on disk). As with the open notification the close notification is about managing the document's content. Receiving a close notification doesn't mean that the document was open in an editor before. A close notification requires a previous open notification to be sent.

Source:
requests.scala
object didOpen extends LSPNotification

The document open notification is sent from the client to the server to signal newly opened text documents. The document's truth is now managed by the client and the server must not try to read the document's truth using the document's uri. Open in this sense means it is managed by the client. It doesn't necessarily mean that its content is presented in an editor. An open notification must not be sent more than once without a corresponding close notification send before. This means open and close notification must be balanced and the max open count is one.

The document open notification is sent from the client to the server to signal newly opened text documents. The document's truth is now managed by the client and the server must not try to read the document's truth using the document's uri. Open in this sense means it is managed by the client. It doesn't necessarily mean that its content is presented in an editor. An open notification must not be sent more than once without a corresponding close notification send before. This means open and close notification must be balanced and the max open count is one.

Source:
requests.scala
object didSave extends LSPNotification

The document save notification is sent from the client to the server when the document got saved in the client.

The document save notification is sent from the client to the server when the document got saved in the client.

Source:
requests.scala
object documentColor extends LSPRequest

A request to list all color symbols found in a given text document. The request's parameter is of type DocumentColorParams the response is of type ColorInformation[] or a Thenable that resolves to such.

A request to list all color symbols found in a given text document. The request's parameter is of type DocumentColorParams the response is of type ColorInformation[] or a Thenable that resolves to such.

Source:
requests.scala

Request to resolve a DocumentHighlight for a given text document position. The request's parameter is of type [TextDocumentPosition] (#TextDocumentPosition) the request response is of type [DocumentHighlight[]] (#DocumentHighlight) or a Thenable that resolves to such.

Request to resolve a DocumentHighlight for a given text document position. The request's parameter is of type [TextDocumentPosition] (#TextDocumentPosition) the request response is of type [DocumentHighlight[]] (#DocumentHighlight) or a Thenable that resolves to such.

Source:
requests.scala
object documentLink extends LSPRequest

A request to provide document links

A request to provide document links

Source:
requests.scala
object documentSymbol extends LSPRequest

A request to list all symbols found in a given text document. The request's parameter is of type TextDocumentIdentifier the response is of type SymbolInformation[] or a Thenable that resolves to such.

A request to list all symbols found in a given text document. The request's parameter is of type TextDocumentIdentifier the response is of type SymbolInformation[] or a Thenable that resolves to such.

Source:
requests.scala
object foldingRange extends LSPRequest

A request to provide folding ranges in a document. The request's parameter is of type FoldingRangeParams, the response is of type FoldingRangeList or a Thenable that resolves to such.

A request to provide folding ranges in a document. The request's parameter is of type FoldingRangeParams, the response is of type FoldingRangeList or a Thenable that resolves to such.

Source:
requests.scala
object formatting extends LSPRequest

A request to to format a whole document.

A request to to format a whole document.

Source:
requests.scala
object hover extends LSPRequest

Request to request hover information at a given text document position. The request's parameter is of type TextDocumentPosition the response is of type Hover or a Thenable that resolves to such.

Request to request hover information at a given text document position. The request's parameter is of type TextDocumentPosition the response is of type Hover or a Thenable that resolves to such.

Source:
requests.scala
object implementation extends LSPRequest

A request to resolve the implementation locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type Definition or a Thenable that resolves to such.

A request to resolve the implementation locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type Definition or a Thenable that resolves to such.

Source:
requests.scala
object inlayHint extends LSPRequest

A request to provide inlay hints in a document. The request's parameter is of type InlayHintsParams, the response is of type InlayHint[] or a Thenable that resolves to such.

A request to provide inlay hints in a document. The request's parameter is of type InlayHintsParams, the response is of type InlayHint[] or a Thenable that resolves to such.

Since:

3.17.0

Source:
requests.scala
object inlineValue extends LSPRequest

A request to provide inline values in a document. The request's parameter is of type InlineValueParams, the response is of type InlineValue[] or a Thenable that resolves to such.

A request to provide inline values in a document. The request's parameter is of type InlineValueParams, the response is of type InlineValue[] or a Thenable that resolves to such.

Since:

3.17.0

Source:
requests.scala

A request to provide ranges that can be edited together.

A request to provide ranges that can be edited together.

Since:

3.16.0

Source:
requests.scala
object moniker extends LSPRequest

A request to get the moniker of a symbol at a given text document position. The request parameter is of type TextDocumentPositionParams. The response is of type Moniker[] or null.

A request to get the moniker of a symbol at a given text document position. The request parameter is of type TextDocumentPositionParams. The response is of type Moniker[] or null.

Source:
requests.scala

A request to format a document on type.

A request to format a document on type.

Source:
requests.scala

A request to result a CallHierarchyItem in a document at a given position. Can be used as an input to an incoming or outgoing call hierarchy.

A request to result a CallHierarchyItem in a document at a given position. Can be used as an input to an incoming or outgoing call hierarchy.

Since:

3.16.0

Source:
requests.scala
object prepareRename extends LSPRequest

A request to test and perform the setup necessary for a rename.

A request to test and perform the setup necessary for a rename.

Since:

3.16 - support for default behavior

Source:
requests.scala

A request to result a TypeHierarchyItem in a document at a given position. Can be used as an input to a subtypes or supertypes type hierarchy.

A request to result a TypeHierarchyItem in a document at a given position. Can be used as an input to a subtypes or supertypes type hierarchy.

Since:

3.17.0

Source:
requests.scala

Diagnostics notification are sent from the server to the client to signal results of validation runs.

Diagnostics notification are sent from the server to the client to signal results of validation runs.

Source:
requests.scala

A request to to format a range in a document.

A request to to format a range in a document.

Source:
requests.scala
object references extends LSPRequest

A request to resolve project-wide references for the symbol denoted by the given text document position. The request's parameter is of type ReferenceParams the response is of type Location[] or a Thenable that resolves to such.

A request to resolve project-wide references for the symbol denoted by the given text document position. The request's parameter is of type ReferenceParams the response is of type Location[] or a Thenable that resolves to such.

Source:
requests.scala
object rename extends LSPRequest

A request to rename a symbol.

A request to rename a symbol.

Source:
requests.scala
object selectionRange extends LSPRequest

A request to provide selection ranges in a document. The request's parameter is of type SelectionRangeParams, the response is of type SelectionRange[] or a Thenable that resolves to such.

A request to provide selection ranges in a document. The request's parameter is of type SelectionRangeParams, the response is of type SelectionRange[] or a Thenable that resolves to such.

Source:
requests.scala
object typeDefinition extends LSPRequest

A request to resolve the type definition locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type Definition or a Thenable that resolves to such.

A request to resolve the type definition locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type Definition or a Thenable that resolves to such.

Source:
requests.scala
object willSave extends LSPNotification

A document will save notification is sent from the client to the server before the document is actually saved.

A document will save notification is sent from the client to the server before the document is actually saved.

Source:
requests.scala

A document will save request is sent from the client to the server before the document is actually saved. The request can return an array of TextEdits which will be applied to the text document before it is saved. Please note that clients might drop results if computing the text edits took too long or if a server constantly fails on this request. This is done to keep the save fast and reliable.

A document will save request is sent from the client to the server before the document is actually saved. The request can return an array of TextEdits which will be applied to the text document before it is saved. Please note that clients might drop results if computing the text edits took too long or if a server constantly fails on this request. This is done to keep the save fast and reliable.

Source:
requests.scala