R – Visual Studio copy/paste into Outlook with standard formatting


I have custom settings in Visual Studio that include a dark background. Copy/pasting to Outlook produces a crime against eyeballs with a dark background in code on a white background of the mail.

Does anyone have any ideas of how I can paste code in standard VS formatting (NOT unformatted text from paste special, and not paste with my custom VS formatting)?

(Alternatively, does anyone know a quick way to switch between themes in VS? Thinking that could also work…)

Best Solution

The following blog post details how to address this issue in VS2012: