[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61016] increase the default value of characte
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #61016] increase the default value of characters for code autocompletion from 2 to 3 |
Date: |
Fri, 6 Aug 2021 12:26:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0 |
URL:
<https://savannah.gnu.org/bugs/?61016>
Summary: increase the default value of characters for code
autocompletion from 2 to 3
Project: GNU Octave
Submitted by: hardy
Submitted on: Fri 06 Aug 2021 04:26:19 PM UTC
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.3.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
This is something I observed for a while, and it is bothering me. Here is how
to reproduce it:
* Type the following code into the code editor of the Octave GUI: grid on
* Directly afterwards press the "enter" key in order to complete this line of
code and go to the next code line.
* Then unexpectedly you will have the following text in the code editor: grid
onCleanup , and you have not switched to a new line
This obviously also happens for axis on, legend on, etc. This "on" is a
speciality of the Octave/Matlab language, that I like because it makes small
scripts for data analysis and plotting easy to type.
This weired completion to "onCleanup" is a behavior of the code auto
completion inside the GUI editor. Sometimes I like what the auto completion
does, so I hesitate to generally switch it off. (There is a GUI setting to do
this). But I type things like "grid on" into my code probably 10 times per
day. And I have never ever used the Octave command "onCleanup" during my
Octave "career" that spans for significantly more than a decade now. So it
bothers me that each time when typing "grid on" I need to leave the keyboard,
and correct my code with the mouse.
I have just found that there is a setting called something like "number of
characters before opening the list of propsed commands" in the GUI editor
settings. It defaults to 2. I personally have now changed this number to 3 and
am fine myself.
But I would like to suggest that we increase the default value of this setting
from 2 to 3 as well. This way we could keep other users away from the
frustrating experience I had myself with this behavior.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61016>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61016] increase the default value of characters for code autocompletion from 2 to 3,
Hartmut <=