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.
views:
38answers:
3
+2
A:
Tools->Options->text editor->c#->formatting->select auto format on }
Vinay B R
2010-09-17 20:24:49
All the auto-format options are already turned on. :(
Jim Fell
2010-09-17 20:40:03
+2
A:
It's.
Tools->Options->Text Editor->C#->Formatting-> Check Automatically format completed block on }
Mikael Svenson
2010-09-17 20:25:56
A:
Tools->Options->Text Editor->C#->Tabs->Indenting needs to be set to Smart, in addition to the "Automatically format completed block on }" setting already mentioned.
Joel Rondeau
2010-09-17 20:48:32