在Visual Studio 2015 C#中禁用红色波浪线 [英] Disabling red squiggly lines in visual studio 2015 C#
问题描述
我将Visual Studio 2015用作统一的脚本编辑器,但我想摆脱语法下划线的问题,因为这会激怒我,但我找不到在Visual Studio中执行此操作的选项.可以为C#禁用语法下划线吗?
I'm using visual studio 2015 as my script editor for unity and I'd like to get rid of the syntax error underlining because they irritate me a lot, but I can't find the option to do that in visual studio. Can the syntax underlining be disabled for C#?
我一直在寻找答案,但找不到适合我的答案, 解决方法显然应该是转到选项">文本编辑器">"C#">高级"并在此处更改一些设置,但是我似乎没有一个选项可以消除波浪线.
I've searched for answers but I couldn't find an answer that worked for me, The solution should apparently be to go to Options>Text Editor>C#>Advanced and change some settings there, but none of the options I have seem to remove the squiggly lines.
这是我的选项菜单: http://i.imgur.com/gD8JsLF.png
推荐答案
您可以尝试通过转到工具->选项->环境->字体和颜色-来更改波浪线的颜色 >语法错误,并将颜色设置为不会激怒您的颜色.像白色.
You might try changing the color of the squiggly lines by going to tools -> options -> environment -> fonts and colors -> syntax error and setting the color to one that doesn't irritate you. Like white.
这篇关于在Visual Studio 2015 C#中禁用红色波浪线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!