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 153261 - Autocompletion does not work as it should
Summary: Autocompletion does not work as it should
Status: CLOSED INVALID
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 2 votes (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 20:27 UTC by erdincyilmazel
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans auto-completion (96.60 KB, image/png)
2008-11-15 20:28 UTC, erdincyilmazel
Details
Eclipse auto-completion (68.55 KB, image/png)
2008-11-15 20:29 UTC, erdincyilmazel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erdincyilmazel 2008-11-15 20:27:24 UTC
Using the following python path netbeans does not seam to find the right packages and modules. This makes the auto
completion feature useless since netbeans lists hundreds of different names after pressing CTRL + Space. Using the same
source file with the same python path in PyDev (Eclipse extension) works as expected. I am going to attach screenshots
for both ides.

The default python path the netbeans detected was different from the one below. It was not working so I changed it to
align with the path that pydev uses. (I have two python installations, the one that comes with MacOS leopard and python
2.5.2 which I installed)

Jumping to the source file using Command clicking on a name also jumps to wrong file.

Python path:
=========================================================
pythonplatform.Python_2.5.1_0.pythonlib=/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PIL:/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip:/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-macosx-10.3-i386.egg
Comment 1 erdincyilmazel 2008-11-15 20:28:13 UTC
Created attachment 73786 [details]
Netbeans auto-completion
Comment 2 erdincyilmazel 2008-11-15 20:29:00 UTC
Created attachment 73787 [details]
Eclipse auto-completion
Comment 3 Jenselme 2017-06-22 19:55:20 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 4 Jiri Kovalsky 2017-06-23 08:06:31 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.