* A file glob pattern to match file paths against. This can either be a glob pattern string
* A file glob pattern to match file paths against. This can either be a glob pattern string
* (like `**∕*.{ts,js}` or `*.{ts,js}`) or a [relative pattern](#RelativePattern).
* (like `**/*.{ts,js}` or `*.{ts,js}`) or a [relative pattern](#RelativePattern).
*
*
* Glob patterns can have the following syntax:
* Glob patterns can have the following syntax:
* * `*` to match one or more characters in a path segment
* * `*` to match one or more characters in a path segment
* * `?` to match on one character in a path segment
* * `?` to match on one character in a path segment
* * `**` to match any number of path segments, including none
* * `**` to match any number of path segments, including none
* * `{}` to group conditions (e.g. `**∕*.{ts,js}` matches all TypeScript and JavaScript files)
* * `{}` to group conditions (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files)
* * `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to match on `example.0`, `example.1`, …)
* * `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to match on `example.0`, `example.1`, …)
* * `[!...]` to negate a range of characters to match in a path segment (e.g., `example.[!0-9]` to match on `example.a`, `example.b`, but not `example.0`)
* * `[!...]` to negate a range of characters to match in a path segment (e.g., `example.[!0-9]` to match on `example.a`, `example.b`, but not `example.0`)
*/
*/
...
@@ -1732,7 +1732,7 @@ declare module 'vscode' {
...
@@ -1732,7 +1732,7 @@ declare module 'vscode' {
* its resource, or a glob-pattern that is applied to the [path](#TextDocument.fileName).
* its resource, or a glob-pattern that is applied to the [path](#TextDocument.fileName).
*
*
* @sample A language filter that applies to typescript files on disk: `{ language: 'typescript', scheme: 'file' }`
* @sample A language filter that applies to typescript files on disk: `{ language: 'typescript', scheme: 'file' }`
* @sample A language filter that applies to all package.json paths: `{ language: 'json', pattern: '**∕package.json' }`
* @sample A language filter that applies to all package.json paths: `{ language: 'json', pattern: '**/package.json' }`