feat: expand Quick Actions with markdown, doc mutations, and undo#117
Merged
Conversation
Add 7 new Quick Actions to the command palette picker: Markdown operations (#114): - Append table row (md table-append) - Upsert bullet (md upsert-bullet) - Replace markdown section (md replace-section) Doc mutation operations (#115): - Delete structured value (doc delete) - Merge into structured file (doc merge) - Append to array (doc append) Undo (#116): - Undo last patchloom change (undo --apply) All new operations use the existing preview-and-apply pattern with diff view. Markdown operations include isMarkdownPath validation. Tests: 10 new builder tests, 6 new CLI integration tests covering doc delete, doc merge, doc append, md upsert-bullet, md table-append, and undo round-trip. Closes #114 Closes #115 Closes #116 Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
This was referenced Jun 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds 7 new Quick Actions to close the gap between the Patchloom CLI and the VS Code extension. These cover the CLI's unique capabilities that have no VS Code native equivalent.
Markdown operations (Closes #114)
md table-append: heading-aware table row insertionmd upsert-bullet: idempotent bullet addition under a headingmd replace-section: heading-aware section replacementDoc mutation operations (Closes #115)
doc delete: remove keys from JSON/YAML/TOMLdoc merge: merge partial objects into config filesdoc append: append values to arrays in structured filesUndo (Closes #116)
undo --apply: restore files from patchloom backup with confirmationAll operations use the existing preview-and-apply pattern with diff view (except undo, which uses a confirmation dialog).
Testing
npm run checkpasses (compile + tests + coverage + package)Quick Action picker now offers
replacetidy fixdoc setsearchcreatedoc getdoc deletedoc mergedoc appendmd table-appendmd upsert-bulletmd replace-sectionundo