Changing the JustMock default shortcuts inside Visual Studio

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1570 posts
    Member since:
    Oct 2004

    Posted 08 Aug 2013 Link to this post

    Recently, there were several client reports about interference between some of the default JustMock shortcuts inside Visual Studio. The conflicting shortcuts were the ones, used for enabling and disabling the JustMock profiler (JustMock.EnableProfiler and JustMock.DisableProfiler). The default keys for these commands were:
    • Ctrl + Alt + [
    • Ctrl + Alt + ]
    It appeared these combinations are commonly used for typing the following symbols: { or [ and } or ]. The issue is possible to appear only on a certain keyboard layouts (e.g. Italian, Canadian-French, etc.)

    This is already fixed in the upcoming JustMock official release. We have changed the shortcuts to not interfere with the user environment in such ways. The new shortcuts for enabling and disabling the profiler will be:
    • Ctrl + Shift + [     -     for JustMock.EnableProfiler
    • Ctrl + Shift + ]     -     for JustMock.DisableProfiler

    As a workaround, until the next version is out, you can change the shortcuts from inside Visual Studio by performing the following:
    1. From Tools menu, go to Options;
    2. Navigate to Environment > Keyboard;
    3. Inside the "Show commands containing" text box write: JustMock
    4. Then find JustMock.EnableProfiler and JustMock.DisableProfiler and remove or change their shortcuts as you want (you can also change the rest of the JustMock shortcuts if required). Note that, you will need to remove the old shortcuts in order to disable them.
Back to Top