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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
7
7
## [Unreleased]
8
8
9
+
## [4.12.2]
10
+
11
+
### Added
12
+
13
+
- Workaround to make search faster with exact path specified instead of glob pattern. [related](https://github.com/matepek/vscode-catch2-test-adapter/issues/444)
// this trick seems working but would need more understanding
102
104
constexclude=
103
105
this._excludePattern.length===0
@@ -119,4 +121,20 @@ export class VSCFSWatcherWrapper implements FSWatcher {
119
121
onError(_handler: (err: Error)=>void): void{
120
122
returnundefined;
121
123
}
124
+
125
+
_isGlobPattern(): boolean{
126
+
/* According to findFiles documentation:
127
+
* Glob patterns can have the following syntax:
128
+
* * `*` to match zero or more characters in a path segment
129
+
* * `?` to match on one character in a path segment
130
+
* * `**` to match any number of path segments, including none
131
+
* * `{}` to group conditions (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files)
132
+
* * `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to match on `example.0`, `example.1`, …)
133
+
* * `[!...]` 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`)
0 commit comments