IAsyncCompletionItemManager2 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 IAsyncCompletionItemManager2 : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.IAsyncCompletionItemManager
type IAsyncCompletionItemManager2 = interface
interface IAsyncCompletionItemManager
Public Interface IAsyncCompletionItemManager2
Implements IAsyncCompletionItemManager
- Implements
Remarks
Instances of this class should be created by IAsyncCompletionItemManagerProvider, which is a MEF part.
Methods
SortCompletionItemListAsync(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) |
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.
|