clintonG said:
Visual Studio 2005 has lost settings for C# braces and I can't figure
out how to restore as indicated...
Page_PreInit
{ // inline as indicated
// indented
} // inline as indicated
Tools->Options, select Text Editor->C#->Formatting in tree pane. There are
several suboptions under Formatting that affect how C# code is formatted.
For your example, you would need to:
1. Check all options under New Lines->New line options for braces.
2. Check "Indent block contents" under Indentation and uncheck "Indent open
and close braces".
If these are set correctly, it's possible that your code contains a
syntactic error that is confusing the formatter. Verify that it compiles
correctly, and that nothing appears to be highlighted with the wrong color.
Please write back if this doesn't solve your problem.