D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Java, VIM, tabs, spaces and indents

 

On Sat, Feb 03, 2007 at 08:27:19PM +0000, Simon Williams wrote:
> I'm now doing java in my computer science course. Much to my irratation, 
> I have discovered that java is poorly designed language which makes all 
> code indented by an extra level because of the class definitions.

Why not just not bother indenting after the class definition?

I generally use tabs for indentation, since they can be set to display
as any width. I've not tried softtabstop, though, I couldn't work out
exactly what it was supposed to be doing.

        bma

Attachment: signature.asc
Description: Digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html