如何仅在项目的特定子路径中过滤资源文件夹? [英] How to filter resource folders in a certain subpath of the project only?

查看:148
本文介绍了如何仅在项目的特定子路径中过滤资源文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现问题和答案 Eclipse ::隐藏.svn文件在开放资源对话框中,但不希望以给定的名称来过滤所有资源,例如工作,这是一般的。我只想在一个特定的子文件夹'sub'中排除工作文件夹。我看到文件和文件夹属性选项项目相对路径和位置,但没有一个可以像以下那样工作:

I found the question and answer Eclipse :: Hide .svn files in Open Resource dialog but don't want to filter all resources with a given name say 'work', which is to general. I only want to exclude the work folder in one specific subfolder 'sub'. I see the "File and Folder Attributes" options "Project Relative Path" and "Location", but none of them works with somethink like:

sub / work

sub/work

任何想法如何让资源过滤器只在某个子路径中工作?

Any ideas how to get the resource filter to work in a certain subpath only?

推荐答案

找到一个具有以下设置的解决方案:

Found a solution with the settings:


  • 适用于:文件和文件夹

  • 全部儿童(递归)激活

  • 文件和文件夹属性:
    项目相对路径匹配子/工作

现在,所有子文件和下面的子目录都被排除在外。

Now all subfiles and subdirectories below this are excluded.

这篇关于如何仅在项目的特定子路径中过滤资源文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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