A glob pattern that defines the files to search for. The glob pattern will be matched against the file paths of resulting matches relative to their workspace. Use a relative pattern to restrict the search results to a workspace folder.
Optional
exclude: null | GlobPatternA glob pattern that defines files and folders to exclude. The glob pattern
will be matched against the file paths of resulting matches relative to their workspace. When undefined
only default excludes will
apply, when null
no excludes will apply.
Optional
maxResults: numberAn upper-bound for the result.
Optional
token: CancellationTokenA token that can be used to signal cancellation to the underlying search engine.
A thenable that resolves to an array of resource identifiers. Will return no results if no workspace folders are opened.
Find files across all workspace folders in the workspace.