Killer IDE macro
I found there is only one(for now) macro that i use in the VS .NET IDE -
the one that puts two curly braces in the following lines and puts the cursor in between them. this HAS to be a killer macro. i assigned it the "CTRL+SHIFT+[" keys, and my productyvity went up 10 times... here the simpler the pie code:
-----------------------------------------
Sub NewBraces()
DTE.ActiveDocument.Selection.NewLine()
DTE.ActiveDocument.Selection.Text = "{"
DTE.ActiveDocument.Selection.NewLine()
DTE.ActiveDocument.Selection.Text = "}"
DTE.ActiveDocument.Selection.LineUp()
DTE.ActiveDocument.Selection.NewLine()
DTE.ActiveDocument.Save()
End Sub
-----------------------------------------
is it possible that there are people who have NOT created this macro on their own? I think the next one will be one that adds the lines:
catch(Exception e)
{
}
to the code.