CopyForReview is a Visual Studio Extension that allows copying code with formatting. It removes unnecessary whitespace and 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 Contribute, review, and comment on GitHub.