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

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

问题描述



Eclipse标记这个XML文件有错误,污染了问题视图。



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

解决方案

在窗口>首选项的验证部分,您可以在设置(...)列中添加不同的规则,您可以在排除组中为XML类型添加文件夹或文件名规则。 p>

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

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

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

解决方案

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天全站免登陆