This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Auto Complete module for IDLE
Type: Stage:
Components: IDLE Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: jerrykingking, kbk, loewis, taleinat
Priority: normal Keywords: patch

Created on 2005-11-19 05:40 by jerrykingking, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
AutoComplete.py jerrykingking, 2005-11-19 05:44
AutoComplete.py jerrykingking, 2005-11-21 11:28 new version of patch
Messages (7)
msg49079 - (view) Author: Jerry (jerrykingking) Date: 2005-11-19 05:40
I think IDLE need this. This is a unattached module.
Locate this module on idlelib directory, import it in 
EditorWindow.py, made it associate with "text" 
property. OK, it will work.

For me it works well.
Have a good day,
Jerry King
msg49080 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2005-11-19 06:57
Logged In: YES 
user_id=149084

The module is undocumented, which isn't acceptable.

What functionality does this add to IDLE?
msg49081 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2005-11-19 06:58
Logged In: YES 
user_id=149084

The module is undocumented, which isn't acceptable.

What functionality does this add to IDLE?
msg49082 - (view) Author: Jerry (jerrykingking) Date: 2005-11-21 11:28
Logged In: YES 
user_id=1382613

AutoComplete.py is a IDLE module that extends Listbox and 
Scrollbar controls with autocompletion capabilities. 

Although the IDLE provides rich foundation for Python 
application developers, it doesn't provide any built-in 
autocompletion support! 

AutoComplete module fills the gap by bringing 
autocompletion capabilities to IDLE. Users of IDLE can 
enjoy the same autocomplete functionality they already 
know from Pythonwin. 
msg49083 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2006-06-29 16:06
Logged In: YES 
user_id=1330769

This module is simple and works, but IDLE already has an
auto-completion module! It is in Python's SVN and will be
part of Python2.5.

The module posted here is extremely naïve and lacking
compared to the existing auto-completion module.

For example, it catches events instead of the Text widget
and inserts characters directly into it to compensate for
this. The MultiCall module on which the existing
auto-completion module is built it a much better solution.

msg49084 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-11-19 08:28
Given that IDLE now has auto-completion, I'm rejecting this patch as out-of-date.
jerrykingking, if you would still like to contribute some of it, please submit a new patch. Make sure you address the issues that have been mentioned by the reviewers.
msg49085 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2006-11-20 02:30
I had left this open because Jerry King's patch has capability that the
current implementation lacks.  As I recollect, it will autocomplete even
if the code has not yet been run.  If he could submit a new patch against
the current implementation, that would be great.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42612
2005-11-19 05:40:01jerrykingkingcreate