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

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

Members list

Type members

Types

Attributes

Source
requests.scala
type Out = Opt[Vector[CompletionItem] | CompletionList]

Attributes

Source
requests.scala

Value members

Concrete methods

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

Attributes

Definition Classes
Source
requests.scala

Inherited fields

val requestMethod: String

Attributes

Inherited from:
LSPRequest
Source
requests.scala

Givens

Inherited givens

given inputReader: Reader[In]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
Source
codecs.scala
given inputWriter: Writer[In]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
Source
codecs.scala
given outputReader: Reader[Out]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
Source
codecs.scala
given outputWriter: Writer[Out]

Attributes

Inherited from:
requests_textDocument_completion (hidden)
Source
codecs.scala