HotCommands for Visual Studio provides the following commands:
**Command**
**Notes**
**Default Shortcut**
Edit.ToggleComment
Comments or Uncomments selected text or lines,
or if no selection, Comments/Uncomments the current line then moves cursor down one line.
Ctrl+/
Edit.DuplicateSelection
Duplicates the currently selected text, or the current line if no selection.
Ctrl+D
Edit.DuplicateLinesUp Edit.DuplicateLinesDown
Copy Lines Up / Copy Lines Down
Duplicates the entire line(s) of the current selection, or the current line if no selection.
Ctrl+Shift+U
Ctrl+Shift+D
Edit.GoToLastEditLocation
Takes the caret back to the last place an edit occurred during that session.
Ctrl+Shift+Backspace
Edit.JoinLines
Joins the current line with the next line and removes redundant whitespace.
Ctrl+Shift+J
Edit.FormatCode
Formats the selected text, or the whole document if no selection.
Ctrl+Alt+F
Edit.IncreaseSelection
Edit.DecreaseSelection
Expands/Shrinks the current text selection by one level (ie. next largest/smallest code block level)
Ctrl+W
Ctrl+Shift+W
Edit.GoToPreviousMember
Edit.GoToNextMember
Navigates to the previous/next member (ie. Method, Class, Field, Property)
Ctrl+Alt+UpArrow
Ctrl+Alt+DownArrow
Edit.MoveMemberUp
Edit.MoveMemberDown
Moves the current member above(/below) the previous(/next) member
Ctrl+Shift+Alt+UpArrow
Ctrl+Shift+Alt+DownArrow
There is a VSSettings file included with the extension that can be imported to load any shortcuts that aren't automatically loaded.
Tip: Download and install the Keyboard Shortcuts Manager if you want to make life easier.
If you load the shortcuts that come with the extension ("Hot Commands Shortcuts"), your menu will look something like this:
Note that the Edit.Duplicate feature (on the main Edit menu) will be preferred if it exists. Otherwise the shortcut will go to the Hot Commands version, which exists on the Edit->Advanced menu.
Refactoring Suggestions/Helpers
Note: Code Analzyers and Refactoring Tools have been moved to a separate extension: Hot Refactorings.