Add Edit command to navigate from outline to specific entries in .cproject.yaml#141
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
34deda9 to
47a92b4
Compare
There was a problem hiding this comment.
Pull request overview
Adds a new “Edit” command to the Solution Outline context menu to navigate directly to the corresponding group / file entry inside the originating .cproject.yml/.yaml (or layer file), supporting faster editing from the outline view.
Changes:
- Introduces
EditCommandto locate YAML nodes (group/file) and open the source document at the matching offset. - Wires the new command into extension activation and contributes it to the outline context menu in
package.json.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/views/solution-outline/commands/open-command.ts | Updates project-file open behavior to focus the editor on the project: line. |
| src/views/solution-outline/commands/edit-command.ts | New command: opens the originating YAML file at the selected group/file node. |
| src/views/solution-outline/commands/edit-command.test.ts | Adds unit tests for EditCommand navigation behavior. |
| src/desktop/extension.ts | Registers and activates the new EditCommand. |
| package.json | Contributes cmsis-csolution.edit and adds it to the Solution Outline context menu. |
|
Coverage Impact ⬆️ Merging this pull request will increase total coverage on Modified Files with Diff Coverage (2)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|

Fixes
Changes
Screenshots
Checklist