如何从 Eclipse 中的验证中排除特定文件夹或文件? [英] How to exclude specific folders or files from validation in Eclipse?

查看:31
本文介绍了如何从 Eclipse 中的验证中排除特定文件夹或文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在单元测试中使用了一堆格式错误的 XML 文件来检查我们的应用程序是否可以处理它们.

We have a bunch of malformed XML files used in unit tests to check if our application can handle them.

Eclipse 将此 XML 文件标记为错误,污染问题视图".

Eclipse marks this XML files with errors, polluting the "problem view".

有没有办法从 Eclipse 验证器中排除特定文件夹?

Is there a way to exclude a specific folder from Eclipse validators?

推荐答案

在 Window > Preferences 的 Validation 部分,您可以在设置 (...) 列中添加不同的规则,您可以添加文件夹或文件名规则"在 XML 类型的排除组中.

In the Validation section of Window > Preferences you can add different rules in settings (...) column, you can add a "Folder or file name rule" in the Exclude Group for XML types.

这篇关于如何从 Eclipse 中的验证中排除特定文件夹或文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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