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
- 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.
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 –>
targetThats it.
最后
以上就是无聊皮带最近收集整理的关于eclipse 如何将maven target目录排除在搜索结果之外?的全部内容,更多相关eclipse内容请搜索靠谱客的其他文章。
发表评论 取消回复