179
edits
(Strip openlibm project) |
ArunGiridhar (talk | contribs) (→TISEAN package: Start new project description (tab completion)) Tags: Mobile edit Mobile web edit |
||
Line 169: | Line 169: | ||
* '''Potential mentors''' | * '''Potential mentors''' | ||
: [https://octave.discourse.group/u/kakila KaKiLa] | : [https://octave.discourse.group/u/kakila KaKiLa] | ||
== Better tab completion == | |||
Links: [https://savannah.gnu.org/bugs/index.php?62492 https://savannah.gnu.org/bugs/index.php?62492] and [https://savannah.gnu.org/bugs/?53384 https://savannah.gnu.org/bugs/?53384] | |||
Description: currently pressing Tab at the Octave command prompt attempts autocompletion of all identifiers in scope (variables, functions, classdefs etc) as well as files and directories in the path. It is not context sensitive. | |||
Project: Improve tab completion. For example, | |||
* Typing | |||
: load x | |||
and then pressing tab should ideally give all loadable files and directories starting with x, not unrelated results like variables or functions. | |||
* Typing | |||
:cd | |||
and tab should only give directories. | |||
* Any file and directory names that are included in the results should include those with spaces and special characters including those that would be interpreted as operators by Octave. | |||
* Typing commands like | |||
: axis | |||
or | |||
: format | |||
and pressing tab should give only those options relevant to that command. E.g. format can be followed by short / long / loose / compact etc but not by a file or variable. Similarly axis can be followed by ij / xy / tight / equal / actual limits etc but not by files or directories. And so on for other commands. This should be made possible for both preexisting commands and for yet-to-be-written commands without any rewriting of existing function code or documentation. | |||
To get more examples, see how bash completion works. You can type git or hg and then tab and it will give the list of available commands. If you type "sort --r" and then tab, it gives the list of options to sort starting with "--r", etc. | |||
= Project sizes = | = Project sizes = |
edits