mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Search provider - give different cacheKeys for different folders
This commit is contained in:
@@ -621,7 +621,10 @@ class FileSearchEngine {
|
||||
.then(() => {
|
||||
this.activeCancellationTokens.add(cancellation);
|
||||
return this.provider.provideFileSearchResults(
|
||||
{ cacheKey: this.config.cacheKey, pattern: this.config.filePattern || '' },
|
||||
{
|
||||
pattern: this.config.filePattern || '',
|
||||
cacheKey: this.config.cacheKey + '_' + fq.folder.fsPath
|
||||
},
|
||||
options,
|
||||
{ report: onProviderResult },
|
||||
cancellation.token);
|
||||
|
||||
Reference in New Issue
Block a user