RE: Changing tab width in graphical tool code listing

"Andy Chittenden" <[email protected]>
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <89E85E0168AD994693B574C80EDB9C27A31D88@uk-email.terastack.bluearc.com>
As different people have different personal preferences for tab settings, we ban the use of TABs in source files. All our editors (whether on UNIX or Windows) are set up for an indent (normally 4) of whatever personal preference that user has: the editors then insert the right number of spaces for it. This way, anyone can edit any given source file and the result does not end up higgledy piggledy. For example, I have the following settings in my .exrc:

set shiftwidth=4
set expandtab
set smarttab

There are similar settings for other editors that are in use (eg emacs).

Obviously, this takes up a little more space in the source files but we don't care: the benefits hugely outweighs the cost.

-- 
Andy, BlueArc Engineering 

_______________________________________________
Bitkeeper-users mailing list
[email protected]
http://bitmover.com/mailman/listinfo/bitkeeper-users
To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.