bugGNU Octave - Bugs: bug #44386, readline: tab completion shall...

 
 

bug #44386: readline: tab completion shall consider @class constructor

Submitter:  Oliver Heimlich <oheim>
Submitted:  Fri 27 Feb 2015 11:15:03 PM UTC
   
 
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Oliver Heimlich Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Dec 2016 10:38:06 AM UTC, comment #2: 

I've attached a patch which adds all class constructor and class method names to the list of names (make_name_list() in help.cc) used in tab autocompletion. The patch is based on HG changeset 22865:89756f2f085b. I'd be grateful if one of the Octave maintainers could have a look at the patch (apologies in advance if I'm missed some requirement for submitting Octave patches).

(file #39170)

Karl Wette <kwwette>
Sat 03 Dec 2016 10:26:34 AM UTC, comment #1: 

+1 to adding both class constructor and methods to tab completion

Karl Wette <kwwette>
Fri 27 Feb 2015 11:15:03 PM UTC, original submission:  

tab completion of readline recognizes m-file scripts from the path as valid function names, but no @class from the path.

The class constructor can probably easily be added to the autocompletion list of readline.

Class methods could also be added to the list, but these are only useful when an object of the class is used on them.

Oliver Heimlich <oheim>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kwwette (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by oheim (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-07 kwwette Attached File- Added Add-class-and-method-names-to-tab-completion.patch, #39170
    2015-05-03 mtmiller CategoryNone Interpreter
        Severity3 - Normal 2 - Minor
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code