Skip to content

Commit 3cfe3a3

Browse files
committed
Substring pattern match
1 parent 746d349 commit 3cfe3a3

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## 4.2.0 - 2026-03-14
11+
12+
### Changed
13+
14+
- Adjust hover text for substring vs full path matches (#).
15+
1016
## 4.1.0 - 2024-04-13
1117

1218
### Changed

src/codeowners-hover-provider.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ export class CodeownersHoverProvider implements vscode.HoverProvider {
4242
range,
4343
contents: [
4444
x,
45-
isPattern
46-
? "Matches all files with same name"
47-
: isDirectory
48-
? `Matches all files in directory and subdirectories`
49-
: `Matches path exactly`,
45+
isPattern ? "Substring pattern match" : `Matches path exactly`,
5046
],
5147
}
5248
}

0 commit comments

Comments
 (0)