任何方法从Eclipse中的层次结构视图中隐藏测试类? [英] Any way to hide test classes from the Hierarchy View in Eclipse?
本文介绍了任何方法从Eclipse中的层次结构视图中隐藏测试类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
在层次结构视图中,选择菜单,然后选择选择工作集。创建一个新的工作集,其中包括除Test类之外的所有内容。使用新的工作集。
I love Eclipse's hierarchy view which quickly shows all the subtypes and supertypes of my Java classes and interfaces. However, the results I am looking for are made confusing by the fact they also show all the types from my unit tests. While I find this helpful at time, I mostly find it annoying. Any way to filter this?
解决方案
In the Hierarchy View, select the menu, and then choose "Select a Working Set". Create a new Working Set that includes everything except the Test classes. Use the new Working Set.
这篇关于任何方法从Eclipse中的层次结构视图中隐藏测试类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文