I mean to get completion of variable names, function names, function argument names, and keywords in Octave, similarly as in Eclipse CDT, e.g. This works in the Command window, but not in the Editor, where only keywords and functions can be completed.
Official documentation indicates <Tab>
and <M-?>
should work.
If I press <Tab>
I get a Tab character inserted.
And I do not know which is the M
odifier key. Plus, I have a Spanish keyboard, so the question mark is obtained with <Shift>+'
, so I am not sure how will it work if I find the correct M
key.
How can I enable it for the Editor?
Notes:
Help -> About shows
GNU Octave, version 4.4.1... configured for "x86_64-w64-mingw32"...
Using Octave portable under Win 10.
I found files
<octave-dir>\etc\inputrc.default
and<octave-dir>\share\octave\4.4.1\m\startup\inputrc
There is a file
C:\Users\user1\.config\octave\qt-settings
containing... [editor] ... codeCompletion=true ... codeCompletion_threshold=2 codeCompletion_keywords=true codeCompletion_octave_builtins=true codeCompletion_octave_functions=true codeCompletion_document=false codeCompletion_case=true codeCompletion_replace=false ... tab_indents_line=false
This refers to the speed of
readline
for Octave under Win. I have speed issues withreadline
of my Portable Msys2 under Win 10, but this is a different issue.