Menu

Pydev Package Explorer - top level elements

2009-08-21
2013-03-15
  • Mikael Åsberg

    Mikael Åsberg - 2009-08-21

    Hello! I would like to be able to set the top level element of the pydev package explorer to be working sets, so I can get a nice, small tree like in JDT. I have three working sets I would like to display in this fashion. Also, why isn't there a pydev working set type?
    I can't find a way to do this in pydev 1.4.7 so I suppose this is a feature request!

    Have a nice day!

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2009-08-21

      That does work for me.. you can do ctrl+F10 with the focus in the explorer (to open the pydev explorer menu) and then choose top level elements > working sets.

      Which eclipse version are you using?

      As for the pydev working set, I don't see how such a working set would differ from the resources working set...

      Cheers,

      Fabio

       
    • Mikael Åsberg

      Mikael Åsberg - 2009-08-21

      I'm using eclipse 3.5. The explorer menu I get when pressing Ctrl + F10 doesn't have that option when used on the Pydev Package Explorer. The options are:
      Setup custom filters
      Select Working Set
      Deselect Working Set
      Edit Active Working Set
      Python Projects
      Customize View
      Link with Editor
      I miss the "Top Level Elements" option that I see when I do the same view on Package Explorer in the Java view.

      Regarding working set type, I just expected there to be one like there is for other languages. I'm using resources working set now..so it was just a label I'm after.

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2009-08-21

        Really strange, that menu should be appearing... I know that 3.4 and some of the older 3.5 releases had a problem with that menu, but the latest 3.5 should work... Do you have some error in your error log?

        Cheers,

        Fabio

         
        • Mikael Åsberg

          Mikael Åsberg - 2009-08-21

          If you mean the log that I can access through Alt+Shift+Q L, I only see some expected older errors there on this computer. Btw, I have this problem on my computer at work, my laptop and the one on my desk at home.

           
          • Fabio Zadrozny

            Fabio Zadrozny - 2009-08-21

            Can you give the complete info on the eclipse version you're using (is it the eclipse SDK, only platform runtime? What's the build id?)

            Which other plugins besides pydev do you use?

            Another thing: in the Project Explorer (and not on the Pydev package explorer), do you have the top-level elements in the menu?

            Cheers,

            Fabio

             
            • Mikael Åsberg

              Mikael Åsberg - 2009-08-21

              On all three machines I'm running:
              Eclipse SDK

              Version: 3.5.0
              Build id: I20090611-1540

              I only have subclipse and pydev installed as additional plugins.
              In the Java view, Package Explorer (as it is called) has Top Level Elements as its first item.
              Here are two screenshots for illustration:
              http://bahnhof.se/wb106362/java_package_explorer.png
              http://bahnhof.se/wb106362/pydev_package_explorer.png

               
              • Fabio Zadrozny

                Fabio Zadrozny - 2009-08-21

                Did you check if it appears at the "Project Explorer"?

                Cheers,

                Fabio

                 
                • Mikael Åsberg

                  Mikael Åsberg - 2009-08-21

                  Sorry about that. I normally don't see that one, I just switch between the pydev and java perspective.
                  However, the menu item "Top Level Elements" does indeed appear in the project explorer.

                   
                  • Fabio Zadrozny

                    Fabio Zadrozny - 2009-08-21

                    Are you in windows or linux? Can you report that as a bug? (please refer to this forum post in the bug) I'll have to take a better look into that...

                    Cheers,

                    Fabio

                     
                    • Mikael Åsberg

                      Mikael Åsberg - 2009-08-21

                      I'm on Windows Vista, all three computers.
                      So it's not a bug in pydev but in some other component so it needs to be reported where?

                       
                      • Fabio Zadrozny

                        Fabio Zadrozny - 2009-08-21

                        You can report it at pydev (see: http://pydev.sourceforge.net/faq.html#how_do_i_report_a_bug ), so that I can take a look at the pydev side of the things and I'll create a report at eclipse.org with more coding details -- if needed.

                        Cheers,

                        Fabio

                         
                      • Mikael Åsberg

                        Mikael Åsberg - 2009-08-21

                        This is getting weirder, I just started my laptop and it does have that menu item on the Pydev Package Explorer. But it doesn't actually work! I still get a flat list of projects even though working sets has been selected.

                         
                        • Fabio Zadrozny

                          Fabio Zadrozny - 2009-08-21

                          If you have a working set selected, it'll show the contents of the working set (so, if you deselect your working set, it should show the working sets as top-level elements).

                          Cheers,

                          Fabio

                          p.s.: I believe this is actually a problem in eclipse, this has already come up before (as in your case, randomly), but I though it was fixed for eclipse 3.5.

                           
    • Mikael Åsberg

      Mikael Åsberg - 2009-08-21

      Ah, right, I do get at tree view if I deselect working sets but have working sets on top. But it shows all working sets, not just the ones I want to shown for my python development. Better than before, though. However, this only works on the laptop. I will have to try my computer at home when I get there.

       
MongoDB Logo MongoDB