概述
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 如何将maven target目录排除在搜索结果之外?所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复