|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #57860] GUI editor should offer a setting to remove trailing whitespace when saving |
| Date: | Wed, 19 Feb 2020 15:41:34 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57860>
Summary: GUI editor should offer a setting to remove trailing
whitespace when saving
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Wed 19 Feb 2020 12:41:32 PM PST
Category: GUI
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Many programming editors offer a command or a setting to automatically remove
all trailing whitespace at the ends of lines in a file when the file is
saved.
I think the Octave GUI editor should offer such a setting in the Editor
preferences. When enabled, all lines will be automatically filtered to trim
trailing spaces and tabs (and any other non-ASCII space-like characters?).
This would help new contributors edit and write m-file functions for
submission to Octave, since this is part of our coding style guide.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57860>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |