Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 157395 - No CC for superclasses' methods/fields
No CC for superclasses' methods/fields
Product: python
Classification: Unclassified
Component: Editor
All All
: P2 (vote)
Assigned To: Torbjorn Norbye
Depends on:
  Show dependency treegraph
Reported: 2009-01-24 17:20 UTC by Tomas Mysik
Modified: 2017-06-23 08:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2009-01-24 17:20:06 UTC
Example ("|" means cursor where CC is invoked):

----- >% -----
class SchoolMember:
    def __init__(self, name, age): = name
        self.age = age

class Teacher(SchoolMember):
    def __init__(self, name, age, salary):
        SchoolMember.|                      # ===> CC offers nothing but should: "__init__(self, name, age)"
        self.salary = salary
----- >% -----

Not sure about the priority because I think that it's very common use case and one could miss this feature a lot.

Product Version: NetBeans IDE Dev (Build 20090121120911)
Java: 1.6.0_11; Java HotSpot(TM) Server VM 11.0-b16
System: Linux version 2.6.28-gentoo-r1 running on i386; UTF-8; cs_CZ (nb)
Comment 1 Jenselme 2017-06-22 21:33:44 UTC
Completion is being reworked for the new release planed in August. Not sure it is still relevant with the current version. Closing this as old bug.
Comment 2 Jiri Kovalsky 2017-06-23 08:05:46 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo