我是靠谱客的博主 无聊皮带,这篇文章主要介绍eclipse 如何将maven target目录排除在搜索结果之外?,现在分享给大家,希望可以做个参考。

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

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中如何将maven target目录排除在搜索结果之外?
参考如下:
http://stackoverflow.com/questions/8213032/exclude-target-folder-from-search-results-in-eclipse

  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.


Go to Project -> Properties -> Resource Filters.

Click Add.

Choose Filter type: Exclude all

Choose Applies to: Folders; check All children (recursive).

In the Attributes, choose Name, Matches type in the text box –>
target

Thats it.

最后

以上就是无聊皮带最近收集整理的关于eclipse 如何将maven target目录排除在搜索结果之外?的全部内容,更多相关eclipse内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(74)

评论列表共有 0 条评论

立即
投稿
返回
顶部