Hi Norm, I think the proposal was for SPACES not tabs. I think by default, C# in the Visual Studio IDE is set up like so:
Smart Indenting: ON Tab size: 4 Indent size: 4 Insert Spaces: ON As long as everyone uses these settings, all diffs and renderings on different editors will work out okay. The incidences where I've had problems with diffs have usually been from computer-generated code, or code that's been pasted in from the net. My personal preference is to use tabs for block indenting, but spaces for alignment, e.g. for aligning long lists of parameters each on a line by themselves. This, however, doesn't seem to be supported by the Studio IDE, though it is supported in vim. Clinton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Young > Sent: January 18, 2007 9:55 AM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: Re: [clearcanvas_dev] Tabs vs. spaces > > Agreed...tabs, not spaces. Makes a source file easier to traverse too. > > N. > > On 1/18/07, Clinton Chau <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi all, > > > > > > > > I'd like to propose that we set up our code editors (vim, Visual Studio, > > etc.) to use expand tab characters to spaces, tab and indent to 4 spaces, > > for all C#-related files. This will allow diffs to look more legible, as > > well as code that has been edited by different people, using different > > editors. > > > > > > > > Open for comments. > > > > > > > > Clinton > > _______________________________________________ > > dev mailing list > > [email protected] > > http://clearcanvas.ca/mailman/listinfo/dev_clearcanvas.ca > > > > > > > > > -- > Norman Young > President & Founder > ClearCanvas Inc. > 416-340-4800 x5954 > [EMAIL PROTECTED] > _______________________________________________ dev mailing list [email protected] http://clearcanvas.ca/mailman/listinfo/dev_clearcanvas.ca
