Differing Views on Code
-
Hey Fellow CPers, I was wondering if anyone has ever seen an addin to VS.NET that would allow differing developers different views of code. By view I mean one developer sees the code with all the braces on the same line as the construct for which it starts a block of code. While on the other hand, another might like the braces on the next line. But these would just be "views" of the code, VS.NET would save the file in some standard chosen by the developers and/or company. Examples:
// Developer 1 int MyMethod(int i) { return 0; } // Developer 2 int MyMethod(int i) { return 0; } // Saved format int MyMethod( int i ) { return 0; }
Thanks for any info. -Nathan --------------------------- Hmmm... what's a signature? -
Hey Fellow CPers, I was wondering if anyone has ever seen an addin to VS.NET that would allow differing developers different views of code. By view I mean one developer sees the code with all the braces on the same line as the construct for which it starts a block of code. While on the other hand, another might like the braces on the next line. But these would just be "views" of the code, VS.NET would save the file in some standard chosen by the developers and/or company. Examples:
// Developer 1 int MyMethod(int i) { return 0; } // Developer 2 int MyMethod(int i) { return 0; } // Saved format int MyMethod( int i ) { return 0; }
Thanks for any info. -Nathan --------------------------- Hmmm... what's a signature? -
Linking this to the previous post re SourceSafe, that would be brilliant to have it automatically within SourceSafe so each and every one could have the presentation they prefer... Jerome
Maybe you could do this with ILDASM and some really fancy code around it ;) '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
-
Hey Fellow CPers, I was wondering if anyone has ever seen an addin to VS.NET that would allow differing developers different views of code. By view I mean one developer sees the code with all the braces on the same line as the construct for which it starts a block of code. While on the other hand, another might like the braces on the next line. But these would just be "views" of the code, VS.NET would save the file in some standard chosen by the developers and/or company. Examples:
// Developer 1 int MyMethod(int i) { return 0; } // Developer 2 int MyMethod(int i) { return 0; } // Saved format int MyMethod( int i ) { return 0; }
Thanks for any info. -Nathan --------------------------- Hmmm... what's a signature?Try Source Styler[^]
The nice thing about C++ is that only your friends can handle your private parts.
-
Try Source Styler[^]
The nice thing about C++ is that only your friends can handle your private parts.
Yeah, I found that on google. But what I am really looking for is a C# reformatter (or viewer) that plugs into VS.NET. Although if it did C++ and C# that would be great also. Thanks though. -Nathan --------------------------- Hmmm... what's a signature?