Search code examples
c#visual-studioauto-indent

Auto-Indentation On Close Block in Visual Studio 2008


I recently upgraded to Visual Studio 2008 Professional, and it is not auto-indenting blocks of code when the block is closed }. This was a feature I found very useful with Express. How do I turn it back on? Thanks.


Solution

  • It's.

    Tools->Options->Text Editor->C#->Formatting-> Check Automatically format completed block on }