CompletionClientCapabilities

langoustine.lsp.structures.CompletionClientCapabilities
See theCompletionClientCapabilities companion class

Attributes

Companion
class
Source
structures.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class CompletionItem(snippetSupport: Opt[Boolean], commitCharactersSupport: Opt[Boolean], documentationFormat: Opt[Vector[MarkupKind]], deprecatedSupport: Opt[Boolean], preselectSupport: Opt[Boolean], tagSupport: Opt[TagSupport], insertReplaceSupport: Opt[Boolean], resolveSupport: Opt[ResolveSupport], insertTextModeSupport: Opt[InsertTextModeSupport], labelDetailsSupport: Opt[Boolean])

Value parameters

commitCharactersSupport

Client supports commit characters on a completion item.

deprecatedSupport

Client supports the deprecated property on a completion item.

documentationFormat

Client supports the following content formats for the documentation property. The order describes the preferred format of the client.

insertReplaceSupport

Client support insert replace edit to control different behavior if a completion item is inserted in the text or should replace text. since 3.16.0

insertTextModeSupport

The client supports the insertTextMode property on a completion item to override the whitespace handling mode as defined by the client (see insertTextMode). since 3.16.0

labelDetailsSupport

The client has support for completion item label details (see also CompletionItemLabelDetails). since 3.17.0

preselectSupport

Client supports the preselect property on a completion item.

resolveSupport

Indicates which properties a client can resolve lazily on a completion item. Before version 3.16.0 only the predefined properties documentation and details could be resolved lazily. since 3.16.0

snippetSupport

Client supports snippets as insert text. A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0 defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

tagSupport

Client supports the tag property on a completion item. Clients supporting tags have to handle unknown tags gracefully. Clients especially need to preserve unknown tags when sending a completion item back to the server in a resolve call. since 3.15.0

Attributes

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

Attributes

Companion
class
Source
structures.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CompletionItemKind(valueSet: Opt[Vector[CompletionItemKind]])

Value parameters

valueSet

The completion item kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown. If this property is not present the client only supports the completion items kinds from Text to Reference as defined in the initial version of the protocol.

Attributes

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

Attributes

Companion
class
Source
structures.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CompletionList(itemDefaults: Opt[Vector[String]])

Value parameters

itemDefaults

The client supports the following itemDefaults on a completion list. The value lists the supported property names of the CompletionList.itemDefaults object. If omitted no properties are supported. since 3.17.0

Attributes

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

Attributes

Companion
class
Source
structures.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Givens

Inherited givens

Attributes

Inherited from:
structures_CompletionClientCapabilitiesCodec (hidden)
Source
codecs.scala

Attributes

Inherited from:
structures_CompletionClientCapabilitiesCodec (hidden)
Source
codecs.scala