We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2950d17 commit 0d9d41eCopy full SHA for 0d9d41e
src/providers/FileSystemProvider/TextSearchProvider.ts
@@ -29,6 +29,9 @@ export class TextSearchProvider implements vscode.TextSearchProvider {
29
regex: query.isRegExp,
30
word: query.isWordMatch,
31
case: query.isCaseSensitive,
32
+ // If options.maxResults is null the search is supposed to return an unlimited number of results
33
+ // Since there's no way for us to pass "unlimited" to the server, I choose a very large number
34
+ max: options.maxResults !== null ? options.maxResults : 100000,
35
})
36
.then((data) => data.result)
37
.then((files: SearchResult[]) =>
0 commit comments