Adds CodeLens and a gutter icon to every [ResultFlow] method — click once to open a rendered Mermaid pipeline diagram.
Features
▶ Open diagram preview — CodeLens
A ▶ Open diagram preview CodeLens appears above every method decorated with [ResultFlow].
Click it to open the Mermaid flowchart for that pipeline in a side panel.
Orange R gutter icon
A branded gutter icon marks every [ResultFlow] attribute line so pipelines are visible at a glance while scrolling.
Requirements
Install one of the two ResultFlow NuGet packages in your project:
Both packages generate *_Flows.g.cs files at build time. The extension reads these files to render the diagram — build your project at least once to generate them.
How it works
When you click ▶ Open diagram preview, the extension tries four steps in order:
Reads the generated *_Flows.g.cs file from your obj/ folder (fastest — works after any build)
Asks Roslyn to run the "Insert diagram as comment" code action and reads the result
Reads an existing /*```mermaid...```*/ block comment in your source
Shows a "diagram not ready yet" message if none of the above succeeds