Eclipse CDT:禁用红色下划线 [英] Eclipse CDT: Disable red underlining
问题描述
我在哪里可以做到这一点?
这可能不是你的问题的答案,但它实际上是你的问题的答案(我正在寻找,现在发现自己):如何禁用红色下划线,这可以是
转到首选项 - >常规 - >编辑器 - >文本编辑器 - >注释
(替代方法:在过滤器/搜索框中键入注释)。
在注释类型列表,选择错误。禁用文本为设置(向右)。
对于警告的黄色下划线(在列表中进一步下拉)也可以这样做。
I use eclipse cdt and I included some files. Unfortunalty I cannot add the include path to my eclipse project since then eclipse will always crash when it starts indexing the newly added includes. Therefore I would like to turn off the feature that highlights errors.
Where can I do this?
This is probably not the answer to your problem, but it's actually the answer to your question (which I was looking for and now found out myself): How to disable the red underlining, which can be pretty annoying because it hides underscore characters.
Go to Preferences -> General -> Editors -> Text Editors -> Annotations
(Alternative: Type "annotations" in the filter / search box).
In the "Annotation types" list, select "Errors". Disable the "Text as" setting (to the right).
The same can be done for yellow underlining of warnings (further down in the list).
这篇关于Eclipse CDT:禁用红色下划线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!