views:

19

answers:

1

Faced problem while setting background color for any element in Visual Studio 2010 editor. Selection color doesn't override this background color. So then it's very inconvenient to work with selections in editor.

Case when only string literal is selected it's almost impossible to distinguish colors and see what part of string is selected.

Is there any possibility to fix the problem by changing some options? Or it's a Visual Studio bug?

A: 

This is new VS2010 behavior which unfortunately is deliberate. However, Noah Richards (from the editor team) has written a couple of extensions that help mitigate the new behavior:

The first is an extension that draws a border around the selection (the main feature of the extension is a gradient background, but the border is what makes it really useful for me).

Second is an extension to change Selection Foreground color.

sean e