code completion with object variables

2009-09-01
2013-03-15
  • Patrick Janssen

    Patrick Janssen - 2009-09-01

    Hi all,

    In the example below, code completion stops working inside a function. I am not sure why this is - is it a bug?

    class B(object):
        def test_b(self):
            pass

    class A(object):
        def __init__(self):
            self.b = B()
       
    x = A()
    x.b.test_b()  #code completion works fine here...

    def test3():
        y = A()
        y.b.|   #code completion does not work here...

    Cheers
    Patrick

     
    • Patrick Janssen

      Patrick Janssen - 2009-09-09

      Hi all,

      Is my previous question making sense? I got no replies, so just wondering...

      The problem I have is that code completion works fine on attributes that are instances of classes, as long as you are not inside a function. When inside a function, it stops working. Is this normal?

      Patrick

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2009-09-09

        It makes sense. Please enter that as a bug report.

        Cheers,

        Fabio

        p.s.: I'm taking a bit longer than normal to get back on some topics because with the migration of Pydev Extensions to Open Source I've got more e-mail than usually -- so, please add that to the bugtracker, where it won't be forgotten.

         
  • Patrick Janssen

    Patrick Janssen - 2009-09-14

    ok - done

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks