Two Hot Visual Studio Extensions, Hot Keys and Hot Commands

This post has been republished via RSS; it originally appeared at: Channel 9.

Today we've got two hot extensions from Justin Clareburt, two extensions that will help you save time and effort...

Hot Keys - Keyboard Shortcuts

HotKeys - Keyboard mapping scheme pack

Provides the following new keyboard mapping schemes:

  • Visual C# 2015  (New!)
  • IntelliJ (IDEA style) for C#
  • ReSharper (IDEA style) for C#
  • ReSharper (VS style) for C#

Brings to life all your favorite shortcuts from other editting tools.

Choose your new keyboard mapping scheme from Tools->Options; Environment->Keyboard

image

[Click through to download it]

Hot Commands for Visual Studio

HotCommands for Visual Studio provides the following commands:

CommandNotesDefault Shortcut
Edit.ToggleCommentComments or Uncomments selected text or lines,
or if no selection, Comments/Uncomments the current line then moves cursor down one line.
Ctrl+/
Edit.DuplicateSelection
Edit.DuplicateSelectionReversed
Duplicates the currently selected text, or the current line if no selection.
Reversed: Same as Duplicate Code, but places the new code before the current selection (or line).
Ctrl+D
Ctrl+Shift+D
Edit.FormatCodeFormats 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

Refactoring Suggestions/Helpers

FeatureCode Refactoring ProviderNotes
Initialize Field From ConstructorInitializeFieldFromConstructorInserts variable as parameter to constructor and initializes it
Extract Class or NamespaceExtractClassToAFileExtracts the selected class (or namespace) into a separate file
Change class modifierChangeModifierChange class modifier to public, protected, internal, private, or protected internal

 

image

...

[Click through to download it]

The are both open source too... :)