Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

tab-completion in Python console #433

nvaccessAuto opened this Issue Jan 1, 2010 · 6 comments


None yet
2 participants

Reported by aleksey_s on 2009-10-01 20:08
it will be usefull to have auto-completion in wonderfull python console.

Comment 1 by aleksey_s on 2009-10-01 20:10
Jamie, have you something upcoming for http://bzr.nvaccess.org/nvda/pythonConsoleCompletion ? What issues we currently have?

Comment 2 by jteh (in reply to comment 1) on 2009-11-24 00:28
Replying to aleksey_s:

What issues we currently have?

  • We need code which can find the best completion given a list of possible completions. This should be done in pythonConsole.PythonConsole._findBestCompletion(). Examples:
    • Given an original string of "a" and a completion list of ["ab", "abc"]("a",), the best completion should be "a".
    • Given an original string of "a" and a completion list of ["abd"]("abc",), the best completion should be "ab".
  • Pressing tab twice should provide a list of all completions, perhaps using a context menu.

Comment 3 by jteh on 2013-11-15 06:41
Milestone changed from None to next

Comment 4 by James Teh <jamie@... on 2013-11-26 07:03
In [96eda4b]:

Merge branch 't433' into next

Incubates #433.

Added labels: incubating

Comment 6 by James Teh <jamie@... on 2013-12-16 06:43
In [89f5a46]:

In the Python Console, you can now press the tab key to complete the current identifier.

Fixes #433.

Removed labels: incubating
State: closed

Comment 7 by jteh on 2013-12-16 06:45
Milestone changed from next to 2014.1

@nvaccessAuto nvaccessAuto added this to the 2014.1 milestone Nov 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment