从 Eclipse 的搜索结果中排除目标文件夹 [英] Exclude target folder from search results in Eclipse

查看:21
本文介绍了从 Eclipse 的搜索结果中排除目标文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以从eclipse快速搜索排除目标文件夹:

I was wondering if it's possible to exclude target folder from eclipse quick search :

Ctrl+Shift+R

如果有人知道怎么做,请指教.

If anyone knows how to do that, please advise.

更新:我正在使用 Maven 2M2EWTP Eclipse 插件.

Update: I am using Maven 2, and M2E , WTP Eclipse plug-ins.

推荐答案

  1. 从这些文件夹的属性屏幕中将目标"文件夹标记为派生"资源(此选项位于只读和存档属性旁边).

  1. Mark the "target" folders as "derived" resource from the properties screen of those folders (this option is next to read only and archive property).

在快速搜索 (Ctrl+Shift+R) 屏幕中,按右上角的箭头并取消勾选显示派生资源".

In the quick search (Ctrl+Shift+R) screen press the arrow in the top right corner and untick "Show derived resources".

那么这些目标文件将不再考虑在快速搜索中.

Then those target-files will not be considered in the quick search anymore.

这篇关于从 Eclipse 的搜索结果中排除目标文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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