Dark theme in visual studio makes code difficult to read in emails and other notes

I like to use a dark theme (this is a small variation of zenburn), but I have a problem when I want to copy and paste a piece of code into some notes, documentation or email into which you paste text with a dark background (usually) into a white document background.

It makes it ugly and hard to read.

One workaround for this is to first insert it into linqpad, which uses classic VS coloring.

Is there an easier way or even a VS plugin that means the code is copied using a different theme?

Update: It looks like a question has already been asked here: Does Visual Studio copy / paste into Outlook with standard formatting?

+6
source share
1 answer

You can install the Microsoft Power Tools Extension . It allows you to copy HTML code and will include a dark background when pasted into an email client that supports HTML or Word formatting, etc.

It does a lot of other things, but you can turn off all the other options if you don't want them, and just leave the HTML copy feature on.

0
source

Source: https://habr.com/ru/post/888932/


All Articles