如何隐藏Eclipse项目中的所有错误? [英] How can I hide all errors from an Eclipse project?

查看:390
本文介绍了如何隐藏Eclipse项目中的所有错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从我的一个朋友那里采取了一个巨大的项目,我只想查看文件只是为了理解他们实现的一些编码架构。在我的系统上,我没有那些jar和完整的代码,所以我的Eclipse显示近10,000个错误。现在我仍然可以通过代码,但红色的错误不允许我集中精力。如何隐藏此特定项目中的所有错误?

I have taken a huge project from one of my friends and I just want to view the files just to understand some coding architectures they have implemented. On my system I don't have those jars and complete code so my Eclipse is showing almost 10,000 errors. Now I am still able to go through the code but the red errors are not allowing me to concentrate well. How can I hide all the errors in this particular project?

推荐答案

我不知道是否可以隐藏所有错误,您可以

I don't know if you can hide all the errors but you can


  • 限制首选项 - >中报告的问题数量。 Java - >编译器 - >建立

  • 从构建路径文件夹中排除所有文件( Java构建路径 - > Souce - 和编辑... - >输入文件夹名称,然后按下一步 - >将'**'添加为排除模式

  • limit the number of reported problems in Preferences -> Java -> Compiler -> Building, or
  • exlude all the files from your build path folder (Java Build Path -> Souce -> Select source folder and Edit... -> Enter folder name and press Next -> Add '**' as Exclusion pattern)

这篇关于如何隐藏Eclipse项目中的所有错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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