#14552: Tab completer improvements
----------------------------------+-----------------------------------------
Reporter: vbraun | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: user interface | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by scmancuso):
* status: needs_info => needs_review
Comment:
I never heard back from the author of the IPEP, so I've implemented the
requested changes as IPython stands now. A few notes on the
implementation:
1. The new completions should work for any global names, attribute names,
and modules. They do not work for filenames (seems
unnecessary and difficult) or IPython magic functions (there are few
enough and none of them really apply).
1. In an effort to not overpollute the completion space, the new
completions are only shown if there were no "traditional" completions
available. This seems to work pretty well for me, but perhaps other
people will find it too restrictive. Let me know how you like it.
I've tested the misc directory but not the entire Sage library. I wanted
to get some feedback on the functionality before going through that whole
process. I've also built the documentation, which seems fine.
The new functionality is not doctested because I have no idea how to go
about testing tab completion. Does anyone have any ideas how this can be
best done? I would guess that I can use the get_test_shell function in the
interpreter module, but I don't know how to make that work.
Finally, I tried to use my best judgement on where things should be placed
in the Sage library, but I'm not sure if everything is in an appropriate
place, so if you could look at that too, that would be great.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14552#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.