completion

langoustine.lsp.requests.textDocument.completion
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.

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

Graph
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type
completion.type

Members list

Type members

Types

type Out = Opt[Vector[CompletionItem] | CompletionList]

Value members

Concrete methods

override def apply(in: CompletionParams): PreparedRequest[this.type]

Attributes

Definition Classes

Inherited fields

val requestMethod: String

Attributes

Inherited from:
LSPRequest

Givens

Inherited givens

given inputReader: Reader[In]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
given inputWriter: Writer[In]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
given outputReader: Reader[Out]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
given outputWriter: Writer[Out]

Attributes

Inherited from:
requests_textDocument_completion (hidden)