ICodeLensDescriptorContextProvider Interface

Definition

Provides dynamic context properties of a code element tagged with ICodeLensTag2 in addition to immutable ICodeLensDescriptor. These include a span of the code element, which for example is changing during code editing within a method, unlike ICodeLensDescriptor of the method.

C++
public interface class ICodeLensDescriptorContextProvider

Methods

GetCurrentContextAsync()

Gets current context properties of a code element tagged with ICodeLensTag2.

Applies to

Produkt Verzie
Visual Studio SDK 2019, 2022