Common Option Settings

SQL Server Management Studio 2005-2008

Text Editor

DescriptionLocation
Line numbersTools > Options > Text Editor > All Languages > Display > Line Numbers
Tabs: render as spacesTools > Options > Text Editor > All Languages > Tabs

Visual Studio 2010

DescriptionLocation
Open ASPX file in markup by defaultRight-click an ASPX file > Open with > select "Source Code (Text) Editor" > Set as Default button > OK button