Make use of glob patterns by file system watchers case-aware (#277501)

* Make use of glob patterns by file system watcher case-aware

* Fix build break

* Fix unit-tests

* Added unit-tests for case-insensitive glob matching.

* PR feedback

* Add jdoc comments on GlobCaseSensitivity enum.

* Simplify toGlobCaseSensitivity per PR feedback

* PR feedback

* Revert changes to support case sensitivity option.

* Remove unneeded unit-tests.

* Test updates

* Revert unrelated changes.

* Revert more unrelated changes.

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
This commit is contained in:
Dmitriy Vasyura
2025-11-26 21:15:12 -08:00
committed by GitHub
parent c9b7a5ad10
commit 1d9c1b271a
11 changed files with 236 additions and 28 deletions

View File

@@ -1061,7 +1061,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ignoreDeleteEvents: Boolean(ignoreDelete),
};
return extHostFileSystemEvent.createFileSystemWatcher(extHostWorkspace, configProvider, extension, pattern, options);
return extHostFileSystemEvent.createFileSystemWatcher(extHostWorkspace, configProvider, extHostFileSystemInfo, extension, pattern, options);
},
get textDocuments() {
return extHostDocuments.getAllDocumentData().map(data => data.document);