#13678: Allow tab completion of matrix constructor
----------------------------------+-----------------------------------------
       Reporter:  robertwb        |         Owner:  jason, was  
           Type:  enhancement     |        Status:  needs_review
       Priority:  major           |     Milestone:  sage-5.5    
      Component:  linear algebra  |    Resolution:              
       Keywords:                  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:                  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by rbeezer):

 I like it!  Works as advertised.  I'll run tests shortly.  In the
 meantime, a suggestion and a question.

 (1) Stripping out "matrix" from the name of the method is a nice touch,
 but then the docstring appears (to the novice) to be talking about a
 slightly diffferent command than the one queried.  Having ready access to
 constructors is the first step in experimenting with Sage, then tab-
 completion takes over for methods on that object.  So tab-completion to
 discover constructors is fabulous.  But it should be as totally
 straightforward as possible, IMHO.

 What do you think of putting "matrix" back in the method names of the
 matrix object?  Yes, it is verbose and redundant.  It does not seem to
 complicate tab-completion (ie, you do not need to use tab any more in
 either scenario).  And in the Sage library, authors can use the "old"
 method names without involving the matrix object (and I would think this
 would be preferable).


 (2) Is there anyway to make the `func_*` methods on this object invisible
 on tab-completion?  I have no real good idea if they are useful, or just
 detritus.  It'd be great if `matrix.<tab>` '''only''' showed the
 constructors.

 Rob

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13678#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to