CompletionTrigger Struct

Definition

What caused the completion to trigger or update. Location is not provided in this struct because Editor maps the location to an appropriate buffer for each IAsyncCompletionSource.

public value class CompletionTrigger : IEquatable<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionTrigger>
Inheritance
CompletionTrigger
Attributes
Implements

Constructors

Properties

Character

The text edit associated with the action.

Reason

The reason that completion action was taken.

ViewSnapshotBeforeTrigger

ITextSnapshot on the view's text buffer before the completion action was taken. For Backspace, Deletion and Insertion, this is text snapshot before the edit has been made. You may use it to get higher fidelity data on text edits that led to this action. If there was no edit, or edit is unavailable, this is the ITextSnapshot at the time action happened. Take precaution when accessing this property: since this is a struct, it may be left uninitialized.

Methods

Operators

Explicit Interface Implementations

Applies to