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

 
 

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

Submitted by:  Oliver Heimlich <oheim>
Submitted on:  Fri 27 Feb 2015 11:15:03 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Oliver HeimlichOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Dec 2016 10:38:06 AM UTCkwwetteAttached File-=>Added Add-class-and-method-names-to-tab-completion.patch, #39170
    Sun 03 May 2015 10:33:54 PM UTCmtmillerCategoryNone=>Interpreter
      Severity3 - Normal=>2 - Minor
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1