我是靠谱客的博主 无聊皮带,最近开发中收集的这篇文章主要介绍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 如何将maven target目录排除在搜索结果之外?所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部