CompletionRegistrationOptions

langoustine.lsp.structures.CompletionRegistrationOptions
See theCompletionRegistrationOptions companion object
case class CompletionRegistrationOptions(documentSelector: Opt[DocumentSelector], triggerCharacters: Opt[Vector[String]], allCommitCharacters: Opt[Vector[String]], resolveProvider: Opt[Boolean], completionItem: Opt[CompletionItem])

Registration options for a [[CompletionRequest]].

Value parameters

allCommitCharacters

The list of all possible characters that commit a completion. This field can be used if clients don't support individual commit characters per completion item. See ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport If a server provides both allCommitCharacters and commit characters on an individual completion item the ones on the completion item win. since 3.2.0

completionItem

The server supports the following CompletionItem specific capabilities. since 3.17.0

documentSelector

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

resolveProvider

The server provides support to resolve additional information for a completion item.

triggerCharacters

Most tools trigger completion request automatically without explicitly requesting it using a keyboard shortcut (e.g. Ctrl+Space). Typically they do so when the user starts to type an identifier. For example if the user types c in a JavaScript file code complete will automatically pop up present console besides others as a completion item. Characters that make up identifiers don't need to be listed here. If code complete should automatically be trigger on characters not being valid inside an identifier (for example . in JavaScript) list them in triggerCharacters.

Attributes

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product