Feature request: new way to flatten packages
Hello!
I'd like to optimize my screen usages. I my projects usual working package name is
com....]]>.*
It is not very comfortable to scroll long single branch package tree to locate classes in project explorer. I need a feature to collapse root of such tree to view it in next way:
src
|-xxx.xxx.xxx.pachage1.*
|-xxx.xxx.xxx.pachage1.package2.*
|-xxx.xxx.xxx.pachage1.package3.*
It could be done using flatten package feature, but I don't need all this separate empty packages littering project explorer in the next way:
src
|-xxx
|-xxx.xxx
|-xxx.xxx.xxx
|-xxx.xxx.xxx.pachage1.*
|-xxx.xxx.xxx.pachage1.package2.*
|-xxx.xxx.xxx.pachage1.package3.*
So the requested feature should provide an ability to hide this unused packages (1st three) where I don't intend to make classes.
P.S. Should I submtit a separate feature request?
Please sign in to leave a comment.
>P.S. Should I submtit a separate feature request?
No, already there for a long time (search for "HEMP"). BTW, I doubt,
you'll safe a lot of screen space, because the problem is not the
vertical space (at least not for packages), but the horizontal one.
So reducing com.company.system.subsystem.MyObject to
c.c.s.subsystem.MyObject would safe some space.
What do you think?
Tom
Good idea. Maybe it is logical to add a view to project explorer to bind all working packages there. Example:
I'm working with next packages:
aaa.bbb.ccc.ddd.package1.*
eee.fff.ggg.hhh.package2.*
Then I just bind this packages to my working view:
Project
|-package1
|-MyClass1
|-package2
|-MyClass2
I've found HEMP thread. What do they wait to fix it?
I too would like to see this. Options to 'Hide empty packages' or 'hide first "n" packages'.
So
com.mycompany.myapplication.ui.utils.windows
with hide first 3 packages becomes simply
...ui.utils.windows
I think a more useful view might be something like
+-com.mycompany.myapplication
+-ui
+-utils
|
+-windows
i.e. the first 3 levels of packages are flattened much as they are can be at
present; packages under these are presented as a tree. I guess you'd need to
be able to tell IDEA which packages to treat as "root packages" somehow too.
Hope that makes sense...
Vil.
Ben Pickering wrote:
--
Vilya Harvey, Consultant
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/
DisclaimerThis e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.