[wingide-users] Strip trailing whitespace?
Chris Perkins
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.
>
> -Allen
>
>
> 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
> > 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
> http://wingware.com/lists/wingide
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20080425/0ea6bf03/attachment.html
More information about the wingide-users
mailing list