Don’t know where I got this, but a cool shortcut in Visual Studio to vertically select text is to hold down the Alt Key while selecting a region.
I especially use this to get rid of the System.Web.UI.WebControls in the declaration of a page:
protected System.Web.UI.WebControls.TextBox FirstName; protected System.Web.UI.WebControls.TextBox MiddleInitial; protected System.Web.UI.WebControls.TextBox LastName; protected System.Web.UI.WebControls.TextBox SSN; protected System.Web.UI.WebControls.TextBox DOB; protected System.Web.UI.WebControls.TextBox FaxNumber; protected System.Web.UI.WebControls.DropDownList DriverLicenseState; protected System.Web.UI.WebControls.TextBox DriverLicenseNumber;
to
protected TextBox FirstName; protected TextBox MiddleInitial; protected TextBox LastName; protected TextBox SSN; protected TextBox DOB; protected TextBox FaxNumber; protected DropDownList DriverLicenseState; protected TextBox DriverLicenseNumber;
I just hate all that garbage in my declarations. Even if I can hide it with regions.