Shortkeys

If you are familiar with Visual Assist plug-in for Visual Studio, most of the functions provided by Shortkey plug-in will be well known to you.

The plug-in covers some gaps in editing/formatting functions for C-like code (C, C++, JavaScript, PHP) which are not covered by standard functionality.

Shortkey *, / simplifies (un)commenting of the selected lines, smaller selections:

  • Pressing of * on selected text will result in surrounding of the selection by stream comment /* and */. Subsequent executing of the same shortkey, will result in uncommenting of the selection.
  • Pressing of / on selected text will result on commenting of the lines with selection with line comments. If lines are already commented, they will be uncommented. White space lines are skipped.

Active for: All syntaxes inherited from cbased (C, C++, C++ MS), JavaScript and PHP.

Pressing of sign sharp on selected text will result in surrounding if the selection by preprocessor ifdef/endif. The cursor will be set after ifdef. Only active for C++ and inherited.

If you are using Hungarian notation for starting you member variables with m_, this shortkey will help you in an automatic insertion of _ after m and pressed Shift.

Feature simplifies formatting of block comment by adding additional * symbol on each next line after block comment opening /*.

For example, if you have:

/* |

and press Enter at the end of line, editor will add leading *, like this

/*
* |

Lead indentation is also taken into account.

You can install plugin directly from HippoEDIT Plugins options page (Tools→Options→Plugins), if you have Online Repository activated or by download plugin bundle directly from this page and open it with HippoEDIT.

Download and Install Shortkeys for HippoEDIT

For details about integration, you can ask on forum.

plugin