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
  • a customizable formatter

  1. Select code
  2. Press CTRL+R, CTRL+C
  3. Select the format (output goes to the clipboard)
  4. Paste

Install it directly from the Visual Studio Gallery..

Feedback is highly welcome. Please email to Contribute, review, comment on GitHub.