The File Search Provider searches the file system to find files that match a specific pattern.
Note: This search works without using the find:
search token.
NOTE: This is a special search. You must use its search token to execute it. You cannot make it an active Search Provider, or combine it with other Search Providers.
Search token: find:
Default action: Select the file.
Action: | 功能: |
---|---|
Select | Selects the file in the Project window. |
Open: | Opens the file, either in Unity or an external editor. |
Delete: | Deletes the file. |
Copy Path | Copies the path of the file. |
Reimport | Reimports the file. |
Reveal | Selects the file in the operating system’s file browser. |
属性 | Opens the file’s property settings. |
Your search query can contain a C# regex to perform matching or glob expressions with the following wildcards. A glob expression is converted to a normal regex using the equivalency described in the table below:
Glob wildcards | 描述 | 示例 | Matches | Does not match | Equivalent regex |
---|---|---|---|---|---|
| matches any number of any characters including none| Law | Law, Laws, Lawyer | Groklaw, La, aw | .* | ||
. | matches any single character including none | Law. | Law, Laws | La, aw | . |
File Search Provider