5 instantiations of CodeLens
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\CodeLens\CodeLensHandler.cs (5)
97
var codeLens = new LSP.
CodeLens
144
var runTestsCodeLens = new LSP.
CodeLens
155
var debugTestCodeLens = new LSP.
CodeLens
174
var runTestsCodeLens = new LSP.
CodeLens
185
var debugTestsCodeLens = new LSP.
CodeLens
21 references to CodeLens
Microsoft.CodeAnalysis.LanguageServer.Protocol (21)
Handler\CodeLens\CodeLensHandler.cs (10)
25
internal sealed class CodeLensHandler : ILspServiceDocumentRequestHandler<LSP.CodeLensParams, LSP.
CodeLens
[]?>
45
public async Task<LSP.
CodeLens
[]?> HandleRequestAsync(LSP.CodeLensParams request, RequestContext context, CancellationToken cancellationToken)
66
using var _ = ArrayBuilder<LSP.
CodeLens
>.GetInstance(out var codeLenses);
83
ArrayBuilder<LSP.
CodeLens
> codeLenses,
97
var
codeLens = new LSP.CodeLens
109
ArrayBuilder<LSP.
CodeLens
> codeLenses,
144
var
runTestsCodeLens = new LSP.CodeLens
155
var
debugTestCodeLens = new LSP.CodeLens
174
var
runTestsCodeLens = new LSP.CodeLens
185
var
debugTestsCodeLens = new LSP.CodeLens
Handler\CodeLens\CodeLensResolveHandler.cs (6)
23
internal sealed class CodeLensResolveHandler() : ILspServiceDocumentRequestHandler<LSP.
CodeLens
, LSP.
CodeLens
>
34
public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.
CodeLens
request)
37
public async Task<LSP.
CodeLens
> HandleRequestAsync(LSP.
CodeLens
request, RequestContext context, CancellationToken cancellationToken)
87
private static CodeLensResolveData GetCodeLensResolveData(LSP.
CodeLens
codeLens)
Protocol\CodeLensParams.cs (2)
16
internal class CodeLensParams : ITextDocumentParams, IWorkDoneProgressParams, IPartialResultParams<
CodeLens
[]>
36
public IProgress<
CodeLens
[]>? PartialResultToken { get; set; }
Protocol\Methods.Document.cs (3)
42
public static readonly LspRequest<CodeLensParams,
CodeLens
[]?> TextDocumentCodeLens = new(TextDocumentCodeLensName);
58
public static readonly LspRequest<
CodeLens
,
CodeLens
> CodeLensResolve = new(CodeLensResolveName);