Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] Line endings

Hi,
   We frequently face problem with formatting and line ending configuration.
   We definitely need to make a decision about the formatter and line endings to use, then make it easily configurable.
  
   About the choice of formatter, The default eclipse one with an higher maximum line width like 120 or 140 seems good. (the default 80 character per line is too small, we have widescreen now :p)
   About the choice of line endings, I prefer the unix style "\n".
   About configuration, there is a discussion about it here. The maven eclipse:eclipse make the code IDE agnostic, commit the .settings make it easier to start with eclipse.

Simon
  

Le 05/08/2015 13:57, Kovatsch Matthias a écrit :
Hi all

With more committers on board, the issue of different line endings popped up again. I also found a few files that were inconsistent.

Originally, the code started out with Windows line endings. I consider this the "safer" why because I never encountered an editor that cannot handle \r\n (but the other way round).

However, if the overall default for open source is \n, then we can change to this and avoid the confusion in commits and pull-requests. Please share your experience or knowledge on that, so we can put this to an educated vote.
 
Ciao
Matthias

_______________________________________________
cf-dev mailing list
cf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cf-dev


Back to the top