tab-completion in Python console #433

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

2 participants

@nvaccessAuto

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

@nvaccessAuto

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

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

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

@nvaccessAuto

Comment 4 by James Teh <jamie@... on 2013-11-26 07:03
In [96eda4b]:
```CommitTicketReference repository="" revision="96eda4b9f3500aa517dfce371740471469ec0639"
Merge branch 't433' into next

Incubates #433.

Changes:
Added labels: incubating
@nvaccessAuto

Comment 6 by James Teh <jamie@... on 2013-12-16 06:43
In [89f5a46]:
```CommitTicketReference repository="" revision="89f5a46c91df448ac6134bdcf55ddb96642fbc7f"
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

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

@jcsteh jcsteh was assigned by nvaccessAuto Nov 10, 2015
@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