Netbeans-关闭-红色下划线-如何? [英] Netbeans - Turn off - wavy red underlines - How?
问题描述
如何关闭Netbeans中的波浪形红色下划线?我不想在输入时被打扰,并告诉我说一半的代码行是错误的.
How can I turn off the wavy red underlines in Netbeans? I don't want to be interrupted while I'm typing, and told that a half finished line of code is wrong.
推荐答案
在Arnold对 NetBeans的答复中,这实际上已经得到解决和说明. .禁用带下划线的错误检查(+1);选择 Tools-> Options-> Fonts&颜色->语法->类别错误,并根据自己的喜好调整字体效果(或其他任何样式):
This has actually already been addressed and illustrated in Arnold's answer to NetBeans. Disable error checking underline (+1); select Tools -> Options -> Fonts & Colors -> Syntax -> Category Error and adjust the font effects (or any other style) to your liking:
我已经确认它仍然可以像这样工作-请注意,新设置在您触发编辑器更新之前不会生效,例如通过输入字母.
I've confirmed it to still work like so - please note that new settings won't have any effect until you trigger an editor update, e.g. by typing a letter.
不幸的是,这似乎并不能以任何可立即观察到的方式对性能有所帮助(尽管删除字体效果确实确实可以加速过去的速度).
Unfortunately this doesn't seem to help with performance in any immediately observable way (though removing font effects like this indeed used to speed up things in the olden days).
这篇关于Netbeans-关闭-红色下划线-如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!