简体   繁体   中英

How to flatten the packages in Eclipse with pydev?

I am using the Eclipse 4.9.0 with pydev installed on it. The pydev version is 7.0.3.201811082356

If I create a package called abc in the Python project then Eclipse displays it hierarchically in the project explorer window. To see the Python modules under abc you need to expand a, b, and then C. What I would like to see is flattened version ieabc so I just click once to expand it and see all the modules under it. If any of you have developed Java in Eclipse you would know what I am talking about. In Java if you create a package called abc then Eclipse will show it as abc so you just expand it once to see all the classes under package abc

I know what you're talking about, unfortunately, this feature is not available in the PyDev package explorer (I think only JDT actually has that feature).

So, unfortunately, right now, you have to expand the actual folders to see your structure (there's no flattened version available).

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