Menu ▾ ▴

pydev + pygtk + linux

teddybear
2007-10-11
2013-03-15
  • teddybear

    teddybear - 2007-10-11

    Hi!

    Can anybody, please, help me with setting up pydev to make completion for pygtk actually work?
    For example I've got imports:
    import os
    import gtk
    import vte
    import time

    Completion for os, time works. Completion for gtk, vte is missing...
    Is it a known bug or a known missing feature?

    ubuntu gutsy latest
    eclipse 3.3
    pydev 1.3.9

    Thanks!!!

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2007-10-11

      Try adding them to the forced builtins: http://www.fabioz.com/pydev/manual_101_interpreter.html

      Cheers,

      Fabio

       
      • teddybear

        teddybear - 2007-10-11

        @Fabio
        just tried this... no luck. Any other ideas? Thanks!

         
    • teddybear

      teddybear - 2007-10-15

      I'm not sure why pydev can not handle pygtk... (neither source parsing, nor runtime info). It just does not see the modules! Maybe that's the problem with symlinks on linux which are not handled by pydev? Can we expect a fix for this soon? Otherwise pydev is AWSOME!

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2007-10-15

        A new release should be out soon (within 1-2 weeks), I think it will fix that (at least it will fix the zip and symlinks stuff -- I think it's related, but only actually testing will prove it true).

        Cheers,

        Fabio

         
    • teddybear

      teddybear - 2007-10-15

      PROBLEM FIXED: need to add BOTH gtk and pygtk to forced builtins. If added one OR another, no completion works. Thanks for he great tool!