ISuggestedActionsSource3 Interface

Definition

Important

This API is not CLS-compliant.

Extends ISuggestedActionsSource2 to add an ability to provide custom operation description and progress information when calculating SuggestedActionSets.

C++
public interface class ISuggestedActionsSource3 : IDisposable, Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionsSource2, Microsoft::VisualStudio::Utilities::ITelemetryIdProvider<Guid>
Attributes
Implements

Methods

GetSuggestedActionCategoriesAsync(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

Gets a ISuggestedActionCategorySet which are known to have ISuggestedActions which are applicable to the span of text defined by range.

(Inherited from ISuggestedActionsSource2)
GetSuggestedActions(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

Synchronously returns a list of suggested actions for a given span of text.

(Inherited from ISuggestedActionsSource)
GetSuggestedActions(ISuggestedActionCategorySet, SnapshotSpan, IUIThreadOperationContext)

Synchronously returns a list of suggested actions for a given span of text.

HasSuggestedActionsAsync(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

Asynchronously indicates whether this provider can provide any suggested actions for a given span of text in the ITextBuffer.

(Inherited from ISuggestedActionsSource)
TryGetTelemetryId(TId)

Tries to get a unique ID for telemetry purposes.

(Inherited from ITelemetryIdProvider<TId>)

Events

SuggestedActionsChanged

Raised when a list of available suggested actions have changed.

(Inherited from ISuggestedActionsSource)

Applies to

Product Versies
Visual Studio SDK 2019, 2022