Skip to content

Commit 466ad84

Browse files
authored
Fix searching of project folders for newer servers (#1318)
1 parent 4165510 commit 466ad84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/FileSystemProvider/TextSearchProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export class TextSearchProvider implements vscode.TextSearchProvider {
426426
word: query.isWordMatch, // Ignored if regex is true
427427
case: query.isCaseSensitive, // Ignored if regex is true
428428
wild: false, // Ignored if regex is true
429-
documents: fileSpecFromURI(options.folder), // Ignored if project is defined
429+
documents: project ? undefined : fileSpecFromURI(options.folder),
430430
system, // Ignored if project is defined
431431
generated, // Ignored if project is defined
432432
mapped, // Ignored if project is defined

0 commit comments

Comments
 (0)