开发者

Visual Studio 2010 + Resharper Tools|Options|Environment|Fonts and Colors

About fonts and colors in the VS2010 C# text editor with Resharper installed.

In the following method:

public void Method()
     {
        var lis = new Syste开发者_开发知识库m.Collections.ArrayList();
        var exc = new System.NotImplementedException();
     }

ArrayList gets another color as NotImplementedException in the VS2010 text editor, because I edited the color scheme. What would be the difference in these kinds of types so that the color scheme handles them differently? Note that I have Resharper installed but I also tried almost all Resharper entries.

I would like to have the same color for both, but the NotImplementedException type color seems immutable.


By default, not implemented exception is a "to do item" in resharper, Resharper->Options->Tools>Todo items. The to do item is recognized by regular expression, not by type. You can remove the todo item if you don't want implemented exception to appear in the to do list and have the same colors as other to do's. You can also change the color of todo items in general to make them the same color as type identifiers like ArrayList, Tools->Options->Environment->Font and Colors->Resharper Todo item

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜