Configuring Keyboard Shortcuts
dotPeek has inherited a great deal of its functionality from JetBrains ReSharper. Keyboard shortcuts used in dotPeek are no exception; similar to ReSharper, dotPeek provides two sets of keyboard shortcuts:
- Visual Studio scheme that was introduced in ReSharper in order to minimize conflicts with Visual Studio's own keyboard shortcuts.
- ReSharper 2.x/IntelliJ IDEA scheme that shares the majority of shortcuts with those used in IntelliJ IDEA and its derivative web development IDEs. This scheme provides a common keyboard-centric experience among all JetBrains development environments.
Changing shortcuts and shortcut schemes
You can change the selected scheme later using the corresponding selectors on the Environment | Keyboard & Menus page of dotPeek options.
Regardless of the currently selected shceme, you can always configure individual keyboard shortcuts.
Resolving keyboard shortcut conflicts
Some keyboard shortcuts, that are used in the default shortcut schemes: may be already mapped to Visual Studio commands. In these cases, dotPeek does not silently replace existing Visual Studio keyboard shortcuts. As soon as you use a conflicting shortcut, i.e. that is used by both the Visual Studio and dotPeek, you are prompted to resolve this conflict using the dotPeek Shortcut Conflict dialog box:
Select one of three available options:
- Use dotPeek command: binds the conflicting shortcut to the dotPeek command.
- Use Visual Studio commands: resolves the conflict in favor of the Visual Studio command.
- Configure dotPeek command: opens the Keyboard tab in the Visual Studio Options dialog box to help you customize the current keyboard scheme.
Whatever option you choose, you can apply your choice to all other conflicting dotPeek shortcuts by selecting Apply to all dotPeek shortcuts.