CopyForReview is a Visual Studio Extension that allows to copy code with a formatting. It removes unecessary whitespace, adds file, class, method and line info, suitable for sharing code or writing code reviews. Five output formats are currently supported: Text, Send via Email, Stack Overflow Markdown, Foswiki Markup and a customizable formatter.
- Select code
- Press CTRL+R, CTRL+C
- Select the format (output goes to the clipboard)
Install it directly from the Visual Studio Gallery..