octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59460] Automatic endfor, endif auto-completio


From: Tasos Papastylianou
Subject: [Octave-bug-tracker] [bug #59460] Automatic endfor, endif auto-completion enforced in GUI editor - no way to disable or make matlab-compatible
Date: Fri, 13 Nov 2020 08:25:52 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0

URL:
  <https://savannah.gnu.org/bugs/?59460>

                 Summary: Automatic endfor, endif auto-completion enforced in
GUI editor - no way to disable or make matlab-compatible
                 Project: GNU Octave
            Submitted by: tpapastylianou
            Submitted on: Fri 13 Nov 2020 01:25:50 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Tasos Papastylianou
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

For context relating to this bug/feature request, please see the following
Stack Overflow post: https://stackoverflow.com/q/64816229/4183191

Effectively, the GUI Editor enforces block autocompletion; i.e. when starting
a 'for', 'if' or similar 'block' statement, pressing enter will auto-create
the corresponding 'endfor', or 'endif' block-terminating statement.

This is not always desirable from a user point of view, particularly if they
are trying to write matlab-compatible code (which is not an uncommon scenario
among octave users).

It would be useful to add a way to specify preferred behaviour in the Editor
preferences in the GUI, allowing one to disable this autocompletion, or better
yet, to choose between 'disabled', 'enabled (octave-native style)' and
'enabled (matlab-compatible style)' options.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59460>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]