问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/3098313/any-way-to-hide-test-classes-from-the-hierarchy-view-in-eclipse