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 172514 - Code completion don't see the assigned type
Summary: Code completion don't see the assigned type
Status: CLOSED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 18:55 UTC by devarni
Modified: 2017-06-23 08:06 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 devarni 2009-09-17 18:55:55 UTC
Have a global variable of type list:

__my_global_list = list()


Access this variable later inside a class... After the dot, code completion shows "netbeans cannot figure out type of
this variable"

class Test:
  def add(value):
    global __my_global_list
    __my_global_list.


Code completion doesn't recognize if a built-in type was set to a variable and so this variable (say better "object")
are now of this type.

(I tested this also with pydev where its working correctly and also shown with the correct type "list" in the info popup)
Comment 1 Jenselme 2017-06-22 21:58:23 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:06:15 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.