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 171005 - Navigation shows too many choises instead of the suitable ones
Summary: Navigation shows too many choises instead of the suitable ones
Status: CLOSED WONTFIX
Alias: None
Product: python
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 15:46 UTC by cdimauro
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 cdimauro 2009-08-27 15:46:27 UTC
Having the following code:

import sys
sys.path.extend(('.', '/home/repos/python'))
from asn1.asn1 import *

ProfileLevel = SEQUENCE([('id', 0, INTEGER)],
  seq_name = 'ProfileLevel')


and trying to navigate to the INTEGER class declaration in asn1.asn1 module, the editor shows two choices: 

INTEGER in asn1.py
INTEGER in pgdb.py

Both modules are defined in /home/repos/python (and added in my Python Platform/Python 2.5/Python Path) 
but the import that I made was related only to asn1 with "from asn1.asn1 import *"

So navigation doesn't take into account only the symbols from the imports that I made, extending the search to 
all symbols scanned in the files of the Python Path.
Comment 1 Jenselme 2017-06-22 21:53:41 UTC
Navigation will be improved later. This will be tracked elsewhere. Closing this old bug.
Comment 2 Jiri Kovalsky 2017-06-23 08:05:37 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.