Visual Studio IDE free copy using ALT
18/01/2010 Leave a comment
I just wanted to copy that code without the comments. So, the trick is to simply press the Alt button, and then highlight the rectangle you like.(e. g. below).
protected void MyCommand(string e)
{
//if (e == "Hello")
//{
// lblFog.Text = e.CommandArgument.ToString();
//}
}
In the above code if I want to select :
if (e == "Hello")
{
lblFog.Text = e.CommandArgument.ToString();
}
Then I press ALt key and select the rectangle and no need to uncomment the lines.