Any way to hide test classes from the Hierarchy View in Eclipse?

浪子不回头ぞ 提交于 2019-12-13 18:19:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!