textDocument

langoustine.lsp.requests.textDocument
object textDocument

Attributes

Source
requests.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
codeAction.type
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.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
codeLens.type
object colorPresentation extends LSPRequest

A request to list all presentation for a color. The request's parameter is of type [[ColorPresentationParams]] the response is of type [[ColorInformation 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 ColorInformation[]]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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 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 CompletionItem[]]] or [[CompletionList]] or a Thenable that resolves to such.

The request can delay the computation of the [[CompletionItem.detaildetail]] and [[CompletionItem.documentationdocumentation]] 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.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
completion.type
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]] 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]] the response is of type [[Declaration]] or a typed array of [[DeclarationLink]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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]] 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]] the response is of either type [[Definition]] or a typed array of [[DefinitionLink]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
definition.type
object diagnostic extends LSPRequest

The document diagnostic request definition.

The document diagnostic request definition.

since 3.17.0

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
diagnostic.type
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.

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
didChange.type
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.

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
didClose.type
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.

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
didOpen.type
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.

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
didSave.type
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 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 ColorInformation[]]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
object documentHighlight extends LSPRequest

Request to resolve a [[DocumentHighlight]] for a given text document position. The request's parameter is of type [[TextDocumentPosition]] the request response is an array of type [[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]] the request response is an array of type [[DocumentHighlight]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
object documentLink extends LSPRequest

A request to provide document links

A request to provide document links

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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 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 SymbolInformation[]]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
object formatting extends LSPRequest

A request to format a whole document.

A request to format a whole document.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
formatting.type
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.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
hover.type
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]] 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]] the response is of type [[Definition]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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 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 InlayHint[]]] or a Thenable that resolves to such.

since 3.17.0

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
inlayHint.type
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 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 InlineValue[]]] or a Thenable that resolves to such.

since 3.17.0

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type

A request to provide ranges that can be edited together.

A request to provide ranges that can be edited together.

since 3.16.0

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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 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 Moniker[]]] or null.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
moniker.type
object onTypeFormatting extends LSPRequest

A request to format a document on type.

A request to format a document on type.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type

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

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type

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

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type

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.

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object rangeFormatting extends LSPRequest

A request to format a range in a document.

A request to format a range in a document.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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 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 Location[]]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
references.type
object rename extends LSPRequest

A request to rename a symbol.

A request to rename a symbol.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
rename.type
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 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 SelectionRange[]]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object signatureHelp extends LSPRequest

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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]] 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]] the response is of type [[Definition]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
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.

Attributes

Source
requests.scala
Supertypes
class Object
trait Matchable
class Any
Self type
willSave.type
object willSaveWaitUntil extends LSPRequest

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.

Attributes

Source
requests.scala
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type