有什么办法设置每解决方案的颜色选项(VS2010)? [英] Any way to set per-solution color options (VS2010)?

查看:201
本文介绍了有什么办法设置每解决方案的颜色选项(VS2010)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将VS2010配置为对不同的解决方案使用不同的配色方案?在Macintosh上,在1990年代,我可以将wctb资源添加到文档中,以便使用不同的配色方案打开它们.这样可以更轻松地找到要单击的窗口,还有助于避免在错误的文档中意外键入内容(如果打开了多个相似的文档,则很容易做到).有什么好的方法可以在VS2010中达到类似的效果?我主要想更改文本背景颜色和窗口背景颜色.

Is there any way to configure VS2010 to use different color schemes for different solutions? On the Macintosh, in the 1990's, I could add wctb resources to documents so they would open with different color schemes. This made it easier to find the right window to click, and also helped avoid accidentally typing something into the wrong document (otherwise easy to do if one has several similar documents open). Is there any nice way to achieve a similar effect in VS2010? I'd mainly like to change the text background color and window background color.

当我使用vs2005和vbEx2005时,我可以将vbEx设置为一个方案,将vs设置为另一个方案,但是现在我对所有内容都使用vs2010.有没有一种很好的方法可以根据每个项目设置颜色?

When I was using vs2005 and vbEx2005, I could set vbEx to one scheme and vs to another, but right now I'm using vs2010 for everything. Is there any nice way to set colors on a per-project basis?

推荐答案

并非没有编写一些代码.正如Jared所说,要更改的颜色是VS级设置的一部分.但是,可以创建一个VS扩展(甚至只是一个宏),该扩展在打开解决方案时将设置切换到解决方案特定的首选项.

Not without writing some code. As Jared has already mentioned, the colors you want to change are part of the VS-level settings. However, it would be possible to author a VS extension (or even just a macro) that would toggle the settings to solution-specific preferences when a solution is opened.

这篇关于有什么办法设置每解决方案的颜色选项(VS2010)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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