Share via


CompletionTriggerReason Enum

Definition

Describes the kind of action that initially triggered completion to open.

public enum class CompletionTriggerReason
public enum CompletionTriggerReason
type CompletionTriggerReason = 
Public Enum CompletionTriggerReason
Inheritance
CompletionTriggerReason

Fields

Name Value Description
Invoke 0

Completion was triggered by a direct invocation of the completion feature using the Edit.ListMember command.

InvokeAndCommitIfUnique 1

Completion was triggered with a request to commit if a single item would be selected using the Edit.CompleteWord command.

InvokeMatchingType 2

Completion was triggered with a request to display items of matching type

Insertion 3

Completion was triggered or updated via an action inserting a character into the buffer.

Deletion 4

Completion was triggered or updated by removing a character from the buffer using Delete.

Backspace 5

Completion was triggered or updated by removing a character from the buffer using Backspace.

FilterChange 6

Completion was updated by changing filters

SnippetsMode 7

Completion was triggered by Roslyn's Snippets mode

Applies to