[folding] add maxRanges to folding provider request

This commit is contained in:
Martin Aeschlimann
2018-03-13 17:47:25 +01:00
parent 3aea86db79
commit c65b881d16
19 changed files with 179 additions and 51 deletions

View File

@@ -701,7 +701,7 @@ export interface ExtHostLanguageFeaturesShape {
$resolveDocumentLink(handle: number, link: modes.ILink): TPromise<modes.ILink>;
$provideDocumentColors(handle: number, resource: UriComponents): TPromise<IRawColorInfo[]>;
$provideColorPresentations(handle: number, resource: UriComponents, colorInfo: IRawColorInfo): TPromise<modes.IColorPresentation[]>;
$provideFoldingRanges(handle: number, resource: UriComponents): TPromise<modes.IFoldingRangeList>;
$provideFoldingRanges(handle: number, resource: UriComponents, context: modes.FoldingContext): TPromise<modes.IFoldingRangeList>;
}
export interface ExtHostQuickOpenShape {