New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab-completion in Python console #433

Closed
nvaccessAuto opened this Issue Jan 1, 2010 · 6 comments

Comments

Projects
None yet
2 participants
@nvaccessAuto

nvaccessAuto commented Jan 1, 2010

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

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jan 1, 2010

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?

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jan 1, 2010

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.
@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Nov 15, 2013

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

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Nov 26, 2013

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

Merge branch 't433' into next

Incubates #433.

Changes:
Added labels: incubating

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Dec 16, 2013

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.

Changes:
Removed labels: incubating
State: closed

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Dec 16, 2013

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

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