This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157395 - No CC for superclasses' methods/fields
Summary: No CC for superclasses' methods/fields
Status: CLOSED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


Attachments

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):
        self.name = 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.