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

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

问题描述

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



Ctrl + Shift + R



如果有人知道如何做,请告知。 / p>

更新:我正在使用 Maven 2 M2E WTP Eclipse插件

解决方案


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


  2. 在快速搜索( Ctrl + Shift + R )屏幕按下右上角的箭头,然后选择显示派生资源。


然后这些目标文件将不要在快速搜索中考虑。


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.

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

解决方案

  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).

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