开发者

How to merge path in Eclipse package explorer hierarchical view

开发者 https://www.devze.com 2023-03-10 12:37 出处:网络
I\'m using eclipse in MacOS,and I set package explorer to hierarchical view now,package look like this:

I'm using eclipse in MacOS,and I set package explorer to hierarchical view

now,package look like this:

util

  • org
    • abc
      • db
        • sql
          • Connection.java

but i开发者_高级运维n win7,look like this:

util

  • org.abc.db.sql
    • Connection.java

they can auto merge empty package path

how can I merge empty package path in eclipse @ MacOS?


Open the little triangle menu on the top of the view and select filters. This will open a dialog window where you can configure several aspect of the view. One of them is "empty parent packages" which will hide those packages if it is enable.

0

精彩评论

暂无评论...
验证码 换一张
取 消