Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Hot Commands
Hot Commands

Hot Commands

Justin Clareburt

|
20,417 installs
| (24) | Free
A collection of commands and shortcuts for enhanced productivity in Visual Studio IDE. VS2022+
Download

Now includes new commands: DuplicateLinesDown and DuplicateLinesUp (ie. CopyLinesDown and CopyLinesUp)

Note: This version of HotCommands does NOT support VS2015, VS2017 or VS2019.

Legacy versions:

  • Hot Commands 2017-2019
  • Hot Commands 2015

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:

image.png

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft