Extension that cuts through the clutter by automatically collapsing verbose XML documentation comments in your C# code—so you can focus on writing code without the noise.
Comment Ninja is a Visual Studio 2022 extension that streamlines working with XML documentation in your C# code. By intelligently collapsing verbose XML documentation comments, it declutters your code view while still making your documentation accessible when needed.
Features
Efficient Code Navigation: Easily collapse and expand XML documentation comments to focus on the code that matters.
Improved Readability: Reduce visual clutter in large source files, making it simpler to navigate and maintain your code.
Commands
Collapse XML Documentation Comments
Collapses all XML documentation comments in the current document. This command is accessible via the Edit / Outlining menu or the text editor context menu.
Default keyboard shortcut: Ctrl+M, C
Collapse to Definition and Show XML Documentation Comments
Collapses all type members to their definitions while simultaneously expanding XML documentation comments. This is ideal for quickly reviewing or updating your documentation without losing context.
Default keyboard shortcut: Ctrl+M, X
Settings
Collapse XML Documentation Comments on File Open
Automatically collapses XML documentation comments when a source file is opened in Visual Studio, ensuring a cleaner workspace from the start.