mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
docs - add note about backslash in patterns
This commit is contained in:
parent
bbe2fdb262
commit
187998c50b
1 changed files with 5 additions and 0 deletions
5
src/vs/vscode.d.ts
vendored
5
src/vs/vscode.d.ts
vendored
|
@ -1854,6 +1854,11 @@ declare module 'vscode' {
|
|||
* * `{}` 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 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`)
|
||||
*
|
||||
* Note: a backslash (`\`) is not valid within a glob pattern. If you have an existing file
|
||||
* path to match against, consider to use the [relative pattern](#RelativePattern) support
|
||||
* that takes care of converting any backslash into slash. Otherwise, make sure to convert
|
||||
* any backslash to slash when creating the glob pattern.
|
||||
*/
|
||||
export type GlobPattern = string | RelativePattern;
|
||||
|
||||
|
|
Loading…
Reference in a new issue