Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Trim trailing whitespaces
Trim trailing whitespaces [message #51459] Fri, 06 June 2003 09:42 Go to next message
Eclipse UserFriend
Originally posted by: marcincak.vsl.sk

Hi all,

can anybody tell me how to configure Eclipse to trim traling
(white)spaces upon file save?

peter.
Re: Trim trailing whitespaces [message #58894 is a reply to message #51459] Tue, 17 June 2003 02:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsteele.rochester.rr.com

Yes, please! This is something I miss from JEdit.

Rich

"peter" <marcincak@vsl.sk> wrote in message
news:bbpng0$o84$1@rogue.oti.com...
> Hi all,
>
> can anybody tell me how to configure Eclipse to trim traling
> (white)spaces upon file save?
>
> peter.
>
>
Re: Trim trailing whitespaces [message #59283 is a reply to message #58894] Tue, 17 June 2003 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

vote here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=29860

a.
Re: Trim trailing whitespaces [message #59993 is a reply to message #51459] Wed, 18 June 2003 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yves.somewhere.com

This is done when Eclipse formats your code, ie right click in the
java editor, and choose "Format", or ctrl+shift+F.

peter wrote:
> Hi all,
>
> can anybody tell me how to configure Eclipse to trim traling
> (white)spaces upon file save?
>
> peter.
>
>
Re: Trim trailing whitespaces [message #62466 is a reply to message #58894] Thu, 19 June 2003 23:48 Go to previous message
Eclipse UserFriend
Originally posted by: KingD.tmicha.net

"Richard A. Steele" <rsteele@rochester.rr.com> wrote in message
news:bclvgp$c36$1@rogue.oti.com...
> Yes, please! This is something I miss from JEdit.
>
> Rich
>
> "peter" <marcincak@vsl.sk> wrote in message
> news:bbpng0$o84$1@rogue.oti.com...
> > Hi all,
> >
> > can anybody tell me how to configure Eclipse to trim traling
> > (white)spaces upon file save?


You can configure the Checkstyle plug-in to actually detect trailing
whitespace, so you can fix it yourself:

http://eclipse-cs.sourceforge.net/

There is also another plug-in that you can use to remove trailing whitespace
at your command:

http://www51.homepage.villanova.edu/rahul.kuchhal/plugin.htm
--
Dale King
Previous Topic:Newbie Question -- compiling the SWT examples
Next Topic:questions on headless builds
Goto Forum:
  


Current Time: Fri Sep 27 04:01:51 GMT 2024

Powered by FUDForum. Page generated in 0.06152 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top