You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Hari Shreedharan <hs...@cloudera.com> on 2012/03/01 08:51:03 UTC
Trailing whitespaces!
Hey,
It is painful for most of us when those trailing whitespaces show up in red on review board. After some search, I got an Eclipse plugin which does the job for you:
http://andrei.gmxhome.de/anyedit/
It works pretty ok, removes whitespaces and does some fixes in indentation, removing unused imports and all.
Thanks
Hari
--
Hari Shreedharan
Re: Trailing whitespaces!
Posted by Hari Shreedharan <hs...@cloudera.com>.
Ah, thanks! Didn't know that, see it now! Does it do the whitespace removal etc automatically on save though? I can't seem to find such an option.
Hari
--
Hari Shreedharan
On Thursday, March 1, 2012 at 11:18 AM, Eric Sammer wrote:
> FWIW, eclipse already does this if you use the built in formatted
> (which must be tweaked a bit to conform to our code standards,
> admittedly).
>
> Command shift F on mosx.
>
>
>
> On Feb 29, 2012, at 11:51 PM, Hari Shreedharan
> <hshreedharan@cloudera.com (mailto:hshreedharan@cloudera.com)> wrote:
>
> > Hey,
> >
> > It is painful for most of us when those trailing whitespaces show up in red on review board. After some search, I got an Eclipse plugin which does the job for you:
> > http://andrei.gmxhome.de/anyedit/
> >
> > It works pretty ok, removes whitespaces and does some fixes in indentation, removing unused imports and all.
> >
> > Thanks
> > Hari
> >
> > --
> > Hari Shreedharan
> >
>
>
>
Re: Trailing whitespaces!
Posted by Eric Sammer <es...@cloudera.com>.
FWIW, eclipse already does this if you use the built in formatted
(which must be tweaked a bit to conform to our code standards,
admittedly).
Command shift F on mosx.
On Feb 29, 2012, at 11:51 PM, Hari Shreedharan
<hs...@cloudera.com> wrote:
> Hey,
>
> It is painful for most of us when those trailing whitespaces show up in red on review board. After some search, I got an Eclipse plugin which does the job for you:
> http://andrei.gmxhome.de/anyedit/
>
> It works pretty ok, removes whitespaces and does some fixes in indentation, removing unused imports and all.
>
> Thanks
> Hari
>
> --
> Hari Shreedharan
>