带有ReSharper和Productivity Power Tools的VS2010中的TODO注释字体颜色 [英] TODO comment font color in VS2010 with ReSharper and Productivity Power Tools

查看:175
本文介绍了带有ReSharper和Productivity Power Tools的VS2010中的TODO注释字体颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了Visual Studio 2010的Productivity Power Tools.我还安装了ReSharper.在安装PowerTools之前,我的TODO注释(即// TODO: Do Something)使用VS选项下列出的字体作为"Resharper Todo Item"显示在代码中.现在它是深蓝色,并且显然忽略了VS选项中的设置.

I just installed the Productivity Power Tools for Visual Studio 2010. I also have ReSharper installed. Prior to the PowerTools installation, my TODO comments (i.e. // TODO: Do Something) were showing up in the code using the font listed under VS options as "Resharper Todo Item". Now it's a dark blue color, and apparently ignoring the setting in the VS options.

我使用的是深色主题,因此我几乎看不到这些注释.我已经浏览了所有可以找到的选项(VS选项中的所有选项,包括新的电动工具选项以及ReSharper选项),都找不到了.

I'm using a dark theme, so I can barely read these comments. I've dug through all the options I can find (all of the options in VS options including the new power tools options, and in the ReSharper options), and can't find it.

有什么想法吗?

推荐答案

要在文本编辑器中更改TODO项的颜色,请使用Visual Studio更改环境设置(工具->选项->环境->字体和颜色)

To change the colour of the TODO items in the text editor, change the environment settings using Visual Studio (Tools -> Options -> Environment -> Fonts and Colors)

然后滚动到显示项目"列表中的项目,在本例中为"Resharper TODO项目"

Then scroll to the item in the "Display items" list which in this case is "Resharper TODO item"

更新:如对于Resharper 8< 8.2 ,请通过 @Soeholm

For Resharper 8 < 8.2 please see the solution below by @Soeholm

这篇关于带有ReSharper和Productivity Power Tools的VS2010中的TODO注释字体颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆