Overview
Parsaa generates inline documentation for your Swift code. Summon it with the@documenter mention in the composer, with a file focused in Xcode, and it adds documentation comments to your types, methods, and properties.
@documenter is a built-in sub-agent. Configure it in Settings → Automation → Doc Generator: choose the output format (DocC /// comments or Jazzy-style Markdown), whether to include private symbols, and whether to generate usage examples — those settings are passed to the agent on each run.What It Generates
Function & Method Docs
Parameter descriptions, return values, and throws documentation for every function and method.
Type Overviews
High-level descriptions for classes, structs, enums, and protocols that explain their purpose and usage.
Property Documentation
Clear descriptions for properties, including their role and any constraints or expectations.
Usage Examples
Inline code examples showing how to use the documented API correctly.
How to Use
Enable the generator
Turn on Doc Generator in Settings → Automation → Doc Generator and pick your format and options.
Mention @documenter
In the Parsaa composer, type
@documenter. Parsaa documents the focused file’s symbols in place.Example
Input — a function without documentation:DocC Compatibility
Generated documentation is fully compatible with Apple’s DocC documentation system.Quick Help
Quick Help
Documentation appears in Xcode’s Quick Help panel (Option-click on any symbol) immediately after you apply it.
Documentation Browser
Documentation Browser
When you build documentation with DocC, Parsaa-generated comments are included automatically — no extra configuration needed.
Symbol Links
Symbol Links
Parsaa uses double-backtick syntax (e.g.,
``User``) to create symbol links that DocC resolves into navigable references.