The code is ultimately formatted by jalopy. The idea is to minimize the changes when jalopy is invoked.
If too many lines change with jalopy due to indentation issues and the changes are committed, it is tedious to identify the lines containing meaningful changes because they get drowned in silly indentation changes.
My previous message retains its validity. Where possible, please avoid using tab characters for indentation.
At 10:49 PM 9/19/2003 -0400, Scott Heaberlin wrote:
Couldn't this be accomplished with the jalopy xml settings? Stripping tabs and replacing with n number of spaces?
Anyways, the Sun standard specifies 8 spaces for tab stops. (http://java.sun.com/docs/codeconv/html/CodeConventions.doc3.html#262). I have always thought that to be rather large, and see most places using either 4 or 8.
-Scott Heaberlin
> -----Original Message----- > From: Ceki Gülcü [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2003 12:39 PM > To: [EMAIL PROTECTED] > Subject: Spaces instead of tabs please > > > > Hello all, > > I'd like to quickly mention that our code uses spaces instead > of tabs, and > the indention has two space characters. > > For Eclipse users this means: > > - checking *off* "Insert tabs for indentation, not spaces" under > Preferences -> Java -> Code formatter -> Style > > - Setting "Number of spaces representing indentation level" to 2 > > Do correct me if I am wrong. > > -- > Ceki Gülcü > > For log4j documentation consider "The complete log4j manual" > ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp > > import org.apache.Facetime; > ApacheCon US 2003, 18-21 November http://apachecon.com/ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ceki Gülcü
For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]