1 instantiation of FoldingRange
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\FoldingRanges\FoldingRangesHandler.cs (1)
117
foldingRanges.Add(new
FoldingRange
()
14 references to FoldingRange
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Handler\FoldingRanges\FoldingRangesHandler.cs (7)
23
internal sealed class FoldingRangesHandler : ILspServiceDocumentRequestHandler<FoldingRangeParams,
FoldingRange
[]?>
39
public Task<
FoldingRange
[]?> HandleRequestAsync(FoldingRangeParams request, RequestContext context, CancellationToken cancellationToken)
43
return SpecializedTasks.Null<
FoldingRange
[]>();
48
internal static Task<
FoldingRange
[]> GetFoldingRangesAsync(
68
public static async Task<
FoldingRange
[]> GetFoldingRangesAsync(
82
private static
FoldingRange
[] GetFoldingRanges(BlockStructure blockStructure, SourceText text)
89
using var _ = ArrayBuilder<
FoldingRange
>.GetInstance(out var foldingRanges);
Protocol\FoldingRangeParams.cs (2)
17
internal class FoldingRangeParams : ITextDocumentParams, IWorkDoneProgressParams, IPartialResultParams<
FoldingRange
[]>
34
public IProgress<
FoldingRange
[]>? PartialResultToken { get; set; }
Protocol\FoldingRangeSetting.cs (2)
32
/// and will ignore <see cref="
FoldingRange
.StartCharacter"/> and
33
/// <see cref="
FoldingRange
.EndCharacter"/> properties.
Protocol\FoldingRangeSettingOptions.cs (2)
10
/// Client capabilities specific to <see cref="
FoldingRange
"/>
19
/// If set, the client signals that it supports setting <see cref="
FoldingRange
.CollapsedText"/>
Protocol\Methods.Document.cs (1)
99
public static readonly LspRequest<FoldingRangeParams,
FoldingRange
[]?> TextDocumentFoldingRange = new(TextDocumentFoldingRangeName);