This is a migrated thread and some comments may be shown as answers.

Changing the JustMock default shortcuts inside Visual Studio

0 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin asked on 08 Aug 2013, 03:27 PM
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.
Tags
General Discussions
Asked by
Telerik Admin
Top achievements
Rank 1
Iron
Share this question
or