FindFiles
Search for files in your workspace based on a pattern and display files or folder that do not match the exclusion pattern.
Features
- Search for files or folder in your workspace by entering a pattern and exclusion pattern.
- Use wildcards in the pattern and exclusion pattern.
- The pattern determines whether a file name or folder name matches.
- The exclusion pattern determines whether a file name or folder name does not match.
Usage
- Press
Ctrl+Shift+P or F1 to open the command palette.
- Search for and select the
FindFiles command.
- Enter the
Pattern for the file names you want to search for.
- Check the
IncludeFolder if you want to include the folder name in the search.
- Enter the
Exclude for the file names or folder names if you want to exclude. If IncludeFolder is checked, folder names are also exclude.
- Click the
Exec button to start the search.
- The search results will be displayed.
Example
Suppose you want to search for JavaScript files in your workspace, excluding any files with the name test . Here's how you would use the extension:
- Enter
*.js in the Pattern field.
- Enter
test.* in the Exclude field.
- Press Enter or click the
Exec button.
The extension will search for JavaScript files in your workspace, excluding any files with the name test . The search results will be displayed.
Requirements
- Visual Studio Code 1.60.0 or newer
License
Licensed under MIT
| |