|
Prof. Tim Davis, P.O. Box 116120 University of Florida Gainesville, FL 32611-6120 phone (352) 392-1481, fax (352) 392-1220 email: my last name AT cise.ufl.edu |
I prefer that you configure your IDE or editor to not insert tabs at all, so that when you type a tab, your IDE or editor inserts the correct number of spaces (this is called a soft tab). Set the indentation style to be whatever you like, just tell your IDE or editor to insert the appropriate number of spaces when you hit a tab. To test this, open your *.java file in Windows NotePad. If you have 4-space tabs in your IDE, and the file looks strange in NotePad, then it will look strange to the grader, too (which is not a good thing).
See also: Wikipedia tab key discussion.