我无法在 Visual Studio 2010 中编辑选定的文本前景色。有人知道如何执行此操作吗?
让我向您展示:
如您所见,“项目前景”已禁用。
我想相信我这边有问题,因为能够选择用于编程的颜色是程序员的基本权利。任何人都不应该剥夺这一功能而不受惩罚。
Let me show you:
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚写了一个扩展来执行此操作。您可以在 Visual Studio Gallery 上下载扩展 或直接从 Visual Studio 中的扩展管理器(搜索我的名字或扩展的名称“选择前景”)。
一些警告:
另外,如果您想进行任何更改,可以获取 github 上的源代码。
如果您有任何意见,可以将其留在我的博客。我可能会在下周左右写一篇关于此扩展的文章。
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:
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.
似乎是 按设计因为选定区域现在保留语法突出显示:
Seems to be by design because selected areas now retain syntax highlighting: