Friday, April 11, 2008

Coding Productivity Macro

Kirill Osenkov : Coding productivity: macros, shortcuts and snippets

This macro by Kirill Osenkov inserts a pair of curly braces and places the cursor inside them. It's useful when mapped to Shift+Enter.


Sub InsertCurlies()
    DTE.ActiveDocument.Selection.NewLine()
    DTE.ActiveDocument.Selection.Text =
"{"
    DTE.ActiveDocument.Selection.NewLine()
    DTE.ActiveDocument.Selection.Text =
"}"
    DTE.ActiveDocument.Selection.LineUp()
    DTE.ActiveDocument.Selection.NewLine()
End Sub

Tuesday, April 08, 2008

Robocopy GUI

Robocopy GUI: "allows users to customize their Robocopy scripts using a simple and very familiar-looking graphical interface"

Friday, April 04, 2008

What is the list of KeyCodes for JavaScript KeyDown KeyPress and KeyUp events?

The ASP.NET FAQ site has a list of the JavaScript keycodes.