You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Lechner edited this page Oct 23, 2017
·
2 revisions
Glob patterns are a type of wildcard matching for file names. They are used frequently in Visual Studio Code, including in some of the settings for this extension.
Basics
* matches anything (0 or more characters) except for the directory separator
** matches anything (0 or more characters) including the directory separator
? matches a single character
{abc,def} is used to create a list of matching patterns (this will match abc and def)
[Aa] matches one of a list of characters (this will match A and a)
[a-z] matches a range of characters (this will match any lower case letter)
Examples
To match all Python files, all PNG files and all WAV files, including those in any subdirectory: