IAsyncCompletionItemManager Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class IAsyncCompletionItemManager
public interface IAsyncCompletionItemManager
type IAsyncCompletionItemManager = interface
Public Interface IAsyncCompletionItemManager
- Derived
Remarks
Instances of this class should be created by IAsyncCompletionItemManagerProvider, which is a MEF part.
Methods
SortCompletionListAsync(IAsyncCompletionSession, AsyncCompletionSessionInitialDataSnapshot, CancellationToken) |
This method is first called before completion is about to appear.
The result of this method will be used in subsequent invocations of UpdateCompletionListAsync(IAsyncCompletionSession, AsyncCompletionSessionDataSnapshot, CancellationToken) |
UpdateCompletionListAsync(IAsyncCompletionSession, AsyncCompletionSessionDataSnapshot, CancellationToken) |
This method is called before completion is about to appear,
on subsequent typing events and when user toggles completion filters.
|