3 Replies Latest reply on Nov 13, 2009 9:31 AM by Jason San Jose

    Flash builder packages - See hierarchical ?




      I would like to see my packages hierarchically. Sometimes it does it, sometimes for other packages it doesn't. The package presentation option did not help. I remember seeing this long time ago on Eclipse 3.0 but it never happened again till now. Any idea ?





        • 1. Re: Flash builder packages - See hierarchical ?
          Rob Brambley Level 1



          This is the intended behavior, designed to be similar to the default behavior as the JDT's package explorer.  This happens when packages are empty and is meant to prevent users from having to unnecessarily expand package nodes in the tree.  Due to common package naming conventions, developers will often have a bunch of empty root packages, e.g. com.mycompany.myproject, and having to expand all of them would just be tedious.


          One thing we could do for developers who prefer to see all the package nodes would be to add a package explorer filter, which when unselected, would cause all these packages to show in the purely hierarchical form that you may prefer.  If you like this idea, please file an enhancement request.



          Rob Brambley

          Computer Scientist, Flash Builder

          • 2. Re: Flash builder packages - See hierarchical ?



            one of the problems when moving package from one lib to another and destination has

            package looks like com.xyz.package1 and has files under it.

            I can not find a way to put new com.xyz.package2 to see a simple result





            like com.xyz.

                             -- package1

                             -- package2


            Project Explorer should be use for it.

            • 3. Re: Flash builder packages - See hierarchical ?
              Jason San Jose Adobe Employee

              You can right click on the package com.xyz.package1, select File > New > Package, and enter any package name. The new name field defaults to the package you have selected. You can use this wizard to create an package you want and it will create the necessary hierarchy for you. This allows users to think in terms of packages rather than nested folder hierarchies.


              Hope that helps.


              Jason San Jose

              Quality Engineer, Flash Builder