Skip to content

Add inline snapshot support - #726

Merged
SimonCropp merged 2 commits into
mainfrom
inline-snapshots
Aug 7, 2026
Merged

Add inline snapshot support#726
SimonCropp merged 2 commits into
mainfrom
inline-snapshots

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Shared engine for splicing inline snapshots into C# source: InlineApplier/InlinePatcher/CsStringLiteral (content-anchored locate, raw string literal rendering, encoding/BOM/EOL preservation, cross process locking), InlinePatch/InlinePatchFile (text patch format).

Tray: new InlineMove payload, Pending Snapshots menu group with accept/discard/diff, version marker file gating the new payload so pre-20 trays never receive it, and unknown payload types are now logged and ignored instead of throwing.

Shared engine for splicing inline snapshots into C# source:
InlineApplier/InlinePatcher/CsStringLiteral (content-anchored locate,
raw string literal rendering, encoding/BOM/EOL preservation, cross
process locking), InlinePatch/InlinePatchFile (text patch format).

Tray: new InlineMove payload, Pending Snapshots menu group with
accept/discard/diff, version marker file gating the new payload so
pre-20 trays never receive it, and unknown payload types are now
logged and ignored instead of throwing.
@SimonCropp SimonCropp added this to the 20.0.0 milestone Aug 7, 2026
@SimonCropp
SimonCropp merged commit 843a4f3 into main Aug 7, 2026
3 of 5 checks passed
@SimonCropp
SimonCropp deleted the inline-snapshots branch August 7, 2026 11:54
@github-actions
github-actions Bot restored the inline-snapshots branch August 7, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant