[wingide-users] Strip trailing whitespace?
abierbaum at gmail.com
Fri Apr 25 19:29:57 MDT 2008
I was just looking through the archives and saw this message.
Instead of binding this to a key, is it possible to add it to the
editor context menu (right click) or some other menu? I don't need
this functionality often, but when I do I would like a way to call the
On Wed, Jan 30, 2008 at 11:17 AM, Wingware Support <support at wingware.com> wrote:
> Rex Turnbull wrote:
> > Is there a setting for removing trailing whitespace at save?
> > Possible solution hint:
> > I recall that WingIDE uses the Scintilla for its editor window. In
> SciTEGlobal.properties I have set "strip.trailing.spaces=1" Would there
> possibly be a configuration file for setting this in/for Wing IDE? (though I
> would prefer having a spot to set this in the Edit - Preferences dialog).
> You can bind a key bindings to the command rstrip-each-line or look
> in scripts/editor_extensions.py where there is a disable add-on script
> near the end of the file that does this automatically before saving
> The remove-trailing-whitespace command Encolpe mentioned was probably
> a custom-written script; at least there's no script or command of that
> name in Wing by default.
> Stephan Deibel
> Wingware | Python IDE
> Advancing Software Development
> Wing IDE users list
More information about the wingide-users