排除目录& Eclipse中验证的子目录 [英] Exclude directories & subdirectories from validation in Eclipse
本文介绍了排除目录& Eclipse中验证的子目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在eclipse中排除文件夹及其子目录?我知道您可以右键单击包资源管理器中的文件夹,然后选择排除验证,但如果您有子目录,那么您必须为每个文件夹,并且不适用于生成的目录或许多子目录-folders。
How do I exclude a folder AND its sub-directories from validation in eclipse? I know that you can right click on a folder in Package Explorer and select Exclude Validation, but if you have sub-directories under it, you'd have to this for each and it isn't ideal for generated directories or ones with many sub-folders.
任何可能能够执行此操作的插件?
Any plug-ins that might be able to do this?
推荐答案
我通常以这种方式排除验证,我相信这将递归。
I usually exclude validation in this way, I believe it will be recursive.
- 右键单击您的项目并选择属性
- 从左侧导航菜单中选择验证。
- 如果尚未选择启用项目特定设置。
- 找到与您要排除的内容相关的验证器,然后点击设置列中的...。
- 突出显示排除组,然后单击添加规则。 (如果您没有任何现有排除项目,您可能需要添加排除组。)
- 选择文件夹或文件名作为过滤器类型。
- 选择浏览文件夹,找到要排除的文件夹。
<单击下一步。
- Right-click on your project and select Properties.
- Choose Validation from the left-nav menu.
- If it is not already selected choose "Enable project specific settings".
- Find the validator that is relevant for what you want to exclude and click the "..." in the Settings column.
- Highlight the Exclude Group and click Add Rule. (If you don't have any existing exclusions you may have to add an Exclude Group.)
- Select Folder or file name as the Filter Type.
- Click Next.
- Select Browse Folder and find the folder you want to exclude.
这篇关于排除目录& Eclipse中验证的子目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文