Skip to content

Allow text search providers to show the maxResults indicator after a custom number of results #55790

@roblourens

Description

@roblourens

Some extensions like Live Share would like to show the yellow maxResults hint in the search view after a lower number of results than our max of 10000.

This could look like

interface ITextSearchResult {
  hitLimit?: boolean;
}

export interface TextSearchProvider {
    provideTextSearchResults(query: TextSearchQuery, options: TextSearchOptions, progress: Progress<TextSearchResult>, token: CancellationToken): Thenable<ITextSearchResult>;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions