变量着色帮助 [Microsoft Visual C# 2010 Express]
我对此做了相当多的研究。我也非常熟悉如何在 VS 中更改几乎每种颜色。我还发现了一个简洁的网站,上面有一个主题制作器。我认为它不被支持。
如何使变量拥有自己的颜色(字符串、布尔值、整数等)?
我正在慢慢习惯它,但是看着 oject.var.ToString();
并让它全部显示相同的颜色,这对我的眼睛来说非常令人沮丧/困难。 (示例)在 notepad++ 中,我在 php 中编写 $variables,它们显示我想要的任何颜色,与其他所有颜色分开。我真的不明白为什么不能这样做。 VS知道一切是什么,除非有语法错误或者你还没有定义它/等等。我知道我可以在广泛的范围内改变颜色,从而改变其他所有东西的颜色,所以这没有帮助。
感谢您的帮助!
I've done a fair bit of research on this. I'm also pretty familiar with how to change just about every color in VS. I also found a neat site that has a theme maker on it. I don't think it's supported.
How do I make variables have their own color (strings, bools, ints, etc..) ?
I'm slowly getting used to it, but looking at oject.var.ToString();
and having it all show the same color is very frustrating/hard on my eyes. (example) In notepad++, I write my $variables in php and they show any color I want, separate from everything else. I really don't see why it can't be done. VS knows what everything is unless there's a syntax error or you haven't defined it yet/etc.. I know I can change the color on a broad scope that changes the colors on everything else too, so that doesn't help..
Thanks for any help!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不是 100% 确定它是否有它,但是 ReSharper 使用新的颜色类扩展了颜色编码逻辑。除此之外,它是必须有的扩展。
I am not 100% sure whether it has it, but ReSharper extends the color coding logic with new color classes. Other than that, it is a must have extension.
Visual Studio 不支持此功能,除非您使用某种插件或第三方工具。
Visual Studio does not support this, unless you used some sort of plug-in or third party tool.