简体   繁体   English

可变着色帮助[Microsoft Visual C#2010 Express]

[英]Variable Coloring Help [Microsoft Visual C# 2010 Express]

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. 我也非常熟悉如何在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(); 我正在慢慢适应它,但是看着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. (示例)在notepad ++中,我用php写了$ variables,它们显示了我想要的任何颜色,与其他所有颜色分开。 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.. VS知道一切都是什么,除非有语法错误或您尚未定义它/等。我知道我可以在广泛的范围内更改颜色,也可以更改其他所有内容的颜色,因此无济于事。

Thanks for any help!! 谢谢你的帮助!!

I am not 100% sure whether it has it, but ReSharper extends the color coding logic with new color classes. 我不确定100%是否具有此功能,但是ReSharper扩展了颜色编码逻辑的新颜色类别。 Other than that, it is a must have extension. 除此之外,它是必须具有的扩展名。

除非您使用某种插件或第三方工具,否则Visual Studio不支持此功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Microsoft Visual C# 2010 Express 中部署项目? - How to deploy a project in Microsoft Visual C# 2010 Express? Microsoft Visual Studio C#2010 Express:可以调试但不能构建 - Microsoft Visual Studio C# 2010 Express: Can debug but not build 使用Microsoft Visual C#2010 Express加载DLL - Loading DLLs with Microsoft Visual C# 2010 Express 在microsoft visual c#2010 express中运行“开始调试”(F5)时仍然显示已删除的按钮 - Removed button still showing when running the 'Start Debugging' (F5) in microsoft visual c# 2010 express 我应该使用Microsoft Visual C#2010 Express创建针对.Net 3.5的WPF应用程序吗? - should i use Microsoft Visual C# 2010 Express to create a .Net 3.5 targeted, WPF Application? 如何在Microsoft Visual C#2010 Express中更改Windows窗体应用程序的启动图标 - How to change launching icon of windows form application in microsoft visual c# 2010 express WPF / PrismV4:无法在Microsoft Visual Studio C#2010 Express中加载 - WPF/PrismV4: Can't load in Microsoft Visual Studio C# 2010 Express Microsoft Visual C#2010 Express无法构建我简单的单机游戏应用程序 - Microsoft visual C# 2010 express won't build my simple monogame app Visual C#2010 Express中的单元测试? - Unit testing in Visual C# 2010 Express? 安装Visual C#2010 Express时出现问题 - Problems installing Visual C# 2010 Express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM