Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't edit selected text foreground color in Visual Studio 2010. Anyone know how to do this?

Let me show you:

alt text

As you can see "Item foreground" is disabled.

I want to believe there's something wrong on my end because being able to choose the colors you use to program in is a basic right for a programmer. No one should ever take that feature away and go unpunished.

like image 944
sker Avatar asked Feb 13 '10 08:02

sker


1 Answers

I just wrote an extension that does this. You can download the extension on the Visual Studio Gallery or directly from the Extension Manager in visual studio (search for my name or the name of the extension, "Selection Foreground").

A few caveats:

  1. I just threw this together, so I don't make any extensive guarantees of correctness.
  2. It uses a different fonts and colors item, named "Selection Foreground", instead of the regular "Selected Text" item. It'll be (alphabetically) towards the bottom.
  3. There will be some amount of performance degradation while changing the selection. This can be improved, but I haven't had time to do so yet.

Also, you can grab the source on github, if you'd like to make any changes.

If you have any comments, you can leave them on my blog. I'll probably write a post about this extension in the next week or so.

like image 129
Noah Richards Avatar answered Oct 22 '22 07:10

Noah Richards