Interface SelectionRangeProviderMiddleware

interface SelectionRangeProviderMiddleware {
    provideSelectionRanges?: (
        this: void,
        document: TextDocument,
        positions: readonly Position[],
        token: CancellationToken,
        next: ProvideSelectionRangeSignature,
    ) => ProviderResult<SelectionRange[]>;
}

Properties

provideSelectionRanges?: (
    this: void,
    document: TextDocument,
    positions: readonly Position[],
    token: CancellationToken,
    next: ProvideSelectionRangeSignature,
) => ProviderResult<SelectionRange[]>