Eclipse CDT:禁用红色下划线 [英] Eclipse CDT: Disable red underlining

查看:1186
本文介绍了Eclipse CDT:禁用红色下划线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用eclipse cdt和我包括一些文件。 Unfortunalty我不能添加包含路径到我的eclipse项目,因为eclipse将始终崩溃,当它开始索引新添加的包括。因此,我想关闭突出错误的功能。



我在哪里可以做到这一点?

解决方案

这可能不是你的问题的答案,但它实际上是你的问题的答案(我正在寻找,现在发现自己):如何禁用红色下划线,这可以是



转到首选项 - >常规 - >编辑器 - >文本编辑器 - >注释



(替代方法:在过滤器/搜索框中键入注释)。



在注释类型列表,选择错误。禁用文本为设置(向右)。



对于警告的黄色下划线(在列表中进一步下拉)也可以这样做。


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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆