CodeLens Class

Definition

A class representing a code lens command that should be shown alongside source code.

See the Language Server Protocol specification for additional information.

public ref class CodeLens
[System.Runtime.Serialization.DataContract]
public class CodeLens
[<System.Runtime.Serialization.DataContract>]
type CodeLens = class
Public Class CodeLens
Inheritance
CodeLens
Attributes

Constructors

CodeLens()

Properties

Command

Gets or sets the command associated with this code lens.

Data

Gets or sets the data that should be preserved between a textDocument/codeLens request and a codeLens/resolve request.

Range

Gets or sets the range that the code lens applies to.

Applies to