CompletionItem Class

Definition

Class which represents an IntelliSense completion item.

See the Language Server Protocol specification for additional information.

public ref class CompletionItem
[System.Runtime.Serialization.DataContract]
public class CompletionItem
[<System.Runtime.Serialization.DataContract>]
type CompletionItem = class
Public Class CompletionItem
Inheritance
CompletionItem
Attributes

Constructors

CompletionItem()

Properties

AdditionalTextEdits

Gets or sets any additional text edits.

Command

Gets or sets any optional command that will be executed after completion item insertion.

CommitCharacters

Gets or sets the set of characters that will commit completion when this CompletionItem is selected If present, this will override AllCommitCharacters. If absent, AllCommitCharacters will be used instead.

Data

Gets or sets any additional data that links the unresolve completion item and the resolved completion item.

Detail

Gets or sets the completion detail.

Documentation

Gets or sets the documentation comment.

FilterText

Gets or sets the custom filter text.

InsertText

Gets or sets the insert text.

InsertTextFormat

Gets or sets the insert text format.

Kind

Gets or sets the completion kind.

Label

Gets or sets the label value, i.e. display text to users.

Preselect

Gets or sets a value indicating whether this should be the selected item when showing.

SortText

Gets or sets the custom sort text.

TextEdit

Gets or sets the text edit.

Applies to