Update regular expresion to detect new message format from csolution#198
Conversation
1dcbe69 to
b7df24b
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
Updates merge-message parsing in the CMSIS Solution VS Code extension so that Problems diagnostics can detect the newer csolution/toolbox “update … for file …” wording and still offer the “Open in Merge View” action.
Changes:
- Replaced the single merge-message regex with an ordered set of regex patterns to support multiple message wordings.
- Updated merge-message parsing to iterate through patterns and extract path/update level accordingly.
- Added unit tests covering the new toolbox wording and update-level variants.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/solutions/solution-problems.ts | Expands merge-message detection to support the new toolbox output format via multiple regex patterns. |
| src/solutions/solution-problems.test.ts | Adds unit tests to validate merge diagnostic actions/messages for the new wording and levels. |
|
Coverage Impact ⬆️ Merging this pull request will increase total coverage on Modified Files with Diff Coverage (1)
🛟 Help
|

Fixes
Changes
Screenshots
Checklist