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

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

[Octave-bug-tracker] [bug #60719] GUI editor : align assignment statemen


From: PIERRE LABRECHE
Subject: [Octave-bug-tracker] [bug #60719] GUI editor : align assignment statements
Date: Tue, 1 Jun 2021 11:59:56 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 Edg/91.0.864.37

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

                 Summary: GUI editor : align assignment statements
                 Project: GNU Octave
            Submitted by: pierre5018
            Submitted on: mar. 01 juin 2021 11:59:55 EDT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: PIERRE LABRECHE
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This new feature would introduce a command for vertically aligning blocks of
statements containing assignments such that the left-hand side of the
assignment left-aligns, the assignment operators right-align, and the
right-hand side of the assignment left-aligns.

A user preference would specify if this feature is automatically enacted in
the "indent" command.

example ( before )

a=0;
b++;
c+=10;
z_var(:,1,x)    = w;
-verbatim

example ( after auto-formatting)

a            = 0;
               b++;
c           *= 10;
z_var(:,1,x) = w;
-verbatim




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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