This extension lets you better work with Rust's insta snapshot files. It adds syntax highlighting and other improvements.
The following features are currently available.
Jump to Definition
After loading the extension you can "jump to definition" by hitting "F12" on a snapshot assertion macro:
Pending Snapshots View
All pending snapshots are show in the sidebar if insta is used in your project:
Clicking on a snapshot opens a diff view where you can accept and reject the snapshot. This also works for inline snapshots. Additionally you can instruct cargo insta to accept or reject all snapshots in one go.
Accepting / Rejecting
Snapshots can be diffed, accepted and rejected right from within vscode. This is available through the following commands:
For all insta