On Wed, Jul 10, 2019 at 11:52 AM Mark Thomas <ma...@apache.org> wrote:
> On 10/07/2019 15:49, Gary Gregory wrote: > > > Without arguing about the merits of one kind of formatting vs. another... > > If you can configure the Eclipse formatter to do that, I'd consider it, > > otherwise, I'm not into what I'd call "artisanal formatting" ;-) > > > The Eclipse setting you want is: > > Formatter > Line Wrapping > Default indentation for wrapped lines > > and set it to 2 (which should be the default). > > > That seems to do the trick when I run it locally. I'd commit the result > but the default settings change nearly every line in the file. > > Looking more closely, that appears to be a line ending issue. I thought > the accepted practice was to use unix line endings in the repo and > native line endings locally. It looks like there are some Windows line > endings in the repo. > > It would be worth saving your Eclipse formatter settings in the source > tree somewhere so everybody can work from the same set. > I set the setting you mentioned to 2 and saved my config here: src/conf/eclipse/formatter.xml I did not reformat anything. Gary > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >