Compartilhar via


Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion Namespace

Classes

PredefinedCompletionNames

Provides names used by the Async Completion feature.

Interfaces

IAsyncCompletionBroker

Represents a class that manages the completion feature. The editor uses this class to trigger completion and obtain instance of IAsyncCompletionSession which contains methods and events relevant to the active completion session.

IAsyncCompletionBroker2
IAsyncCompletionCommitManager

Represents a class that provides means to adjust the commit behavior, including which typed characters commit the IAsyncCompletionSession and how to commit CompletionItems.

IAsyncCompletionCommitManager2

Represents a class that provides means to handle typed characters by commiting the IAsyncCompletionSession, dismissing it or allowing it to continue.

IAsyncCompletionCommitManagerProvider

Provides instances of IAsyncCompletionCommitManager or IAsyncCompletionCommitManager2 which provides means to adjust the commit behavior, including which typed characters commit the IAsyncCompletionSession and how to commit CompletionItems.

IAsyncCompletionItemManager

Represents a class that filters and sorts available CompletionItems given the current state of the editor. It also declares which completion filters are available for the returned subset of CompletionItems. All methods are called on background thread.

IAsyncCompletionItemManager2

Represents a class that filters and sorts available CompletionItems given the current state of the editor. It also declares which completion filters are available for the returned subset of CompletionItems. All methods are called on background thread.

IAsyncCompletionItemManagerProvider

Provides instances of IAsyncCompletionItemManager which filters and sorts available CompletionItems given the current state of the editor.

IAsyncCompletionSession

Represents a class that tracks completion within a single ITextView. Constructed and managed by an instance of IAsyncCompletionBroker

IAsyncCompletionSessionOperations

Exposes non-public functionality to commanding and tests

IAsyncCompletionSource

Represents an object that provides CompletionItems and other information relevant to the completion feature at a specific SnapshotSpan.

IAsyncCompletionSourceProvider

Provides instances of IAsyncCompletionSource which provides CompletionItems and other information relevant to the completion feature at a specific SnapshotPoint

IAsyncCompletionUniversalSource

Represents an object that provides CompletionItems and other information relevant to the completion feature at a specific SnapshotPoint.

This object provides CompletionItems without prior initialization. Only GetCompletionContextAsync(CompletionTrigger, SnapshotPoint, CancellationToken) will be called. Methods of base interface IAsyncCompletionSource may return default results.

IAsyncExpandingCompletionSource

Represents an object that provides CompletionItems and other information relevant to the completion feature at a specific SnapshotPoint. Additionally, this object has capability to provide additional CompletionItems in a reaction to user interacting with CompletionExpander. If this capability is not necessary, then it is sufficient to implement just IAsyncCompletionSource.

ICompletionPresenter

Represents a class that manages user interface for the completion feature. All methods are called on UI thread.

ICompletionPresenterProvider

Represents a class that produces instances of ICompletionPresenter

ISelectedItemProvider

Indicates that the object is capable of returning a CompletionItem which is currently or has been recently selected.

Enums

CompletionContinuation

Indicates the desired behavior of IAsyncCompletionSession