我无法在Visual Studio 2010中编辑选定的文本前景色。任何人都知道如何做到这一点? [英] I can't edit selected text foreground color in Visual Studio 2010. Anyone know how to do this?

查看:227
本文介绍了我无法在Visual Studio 2010中编辑选定的文本前景色。任何人都知道如何做到这一点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我向您展示:

正如你可以看到项目前景被禁用。

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.

推荐答案

我只是写了一个扩展来做到这一点。您可以在Visual Studio Gallery下载扩展程序 a>或直接从Visual Studio的扩展管理器(搜索我的名字或扩展名,Selection Foreground)。

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").

一些注意事项:


  1. 我只是把它们放在一起,所以我没有做出任何正确性的广泛保证。

  2. 使用不同的字体和颜色项目,命名为选择前景,而不是常规的选定文本项目。

  3. 在更改选择时会有一些性能下降。这可以改进,但我还没有时间这样做。

此外,你可以抓住 github上的源代码,如果您要进行任何更改。

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.

这篇关于我无法在Visual Studio 2010中编辑选定的文本前景色。任何人都知道如何做到这一点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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