简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM