[wingide-users] Strip trailing whitespace?
chris at percious.com
Fri Apr 25 19:58:44 MDT 2008
+1, especially for us JS guys who need small files...-chris
On Fri, Apr 25, 2008 at 7:29 PM, Allen Bierbaum <abierbaum at gmail.com> wrote:
> 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
> rstrip command.
> On Wed, Jan 30, 2008 at 11:17 AM, Wingware Support <support at wingware.com>
> > 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
> > files.
> > 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
> > www.wingware.com
> > _________________________________________________
> > Wing IDE users list
> > http://wingware.com/lists/wingide
> Wing IDE users list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wingide-users