Eclipse:如何在Project Explorer中隐藏自定义文件 [英] Eclipse: how to hide custom files in Project Explorer

查看:347
本文介绍了Eclipse:如何在Project Explorer中隐藏自定义文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在CDT中有一个自定义构建器,它将大量文件添加到项目目录中。我希望这些文件从Project Explorer中过滤出来,但无法弄清楚(文件掩码为* .ooj)。



是否可以添加自定义过滤器通过文件掩码进入自定义视图?或者也许有另外一种方法可以在Project Explorer中隐藏文件?

解决方案

这里是如何在Eclipse Indigo上执行的:



版本:Indigo发行
构建ID:20110505-1223


  1. 右键单击在项目中

  2. 从菜单中选择属性

  3. 选择资源 - >资源过滤器 - >添加

  4. 过滤器类型:排除所有

  5. 适用于:文件

  6. 文件&文件夹属性[名称] [比赛] [*。ooj]

  7. 如果需要,点击所有孩子(羞辱)复选框。

  8. 申请

同样适用于Helios


I have a custom builder in CDT, which adds alot of files into project directory. I want those files to be filtered out from Project Explorer, but cannot figure out how (the file mask is *.ooj).

Is it possible to add a custom filter by file mask into Customize View? Or maybe there is anther way to hide files in Project Explorer?

解决方案

here's how to do it on Eclipse Indigo :

Version: Indigo Release Build id: 20110505-1223

  1. Right click on the project
  2. Select Properties from the menu
  3. Select Resource -> Resource Filters -> Add
  4. Filter Type : Exclude All
  5. Applies to: Files
  6. File & Folder Attributes [Name][Matches][*.ooj]
  7. If desired, click checkbox for "All children (recusive)".
  8. Apply

The same applies to Helios

这篇关于Eclipse:如何在Project Explorer中隐藏自定义文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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