We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d555b1 commit 7cf4ccaCopy full SHA for 7cf4cca
1 file changed
src/vs/workbench/services/search/node/rawSearchService.ts
@@ -277,7 +277,7 @@ export class SearchService implements IRawSearchService {
277
for (const previousSearch in cache.resultsToSearchCache) {
278
// If we narrow down, we might be able to reuse the cached results
279
if (strings.startsWith(searchValue, previousSearch)) {
280
- if (hasPathSep && previousSearch.indexOf(sep) < 0) {
+ if (hasPathSep && previousSearch.indexOf(sep) < 0 && previousSearch !== '') {
281
continue; // since a path character widens the search for potential more matches, require it in previous search too
282
}
283
0 commit comments