As I tend to work mainly in full screen mode within Visual Studio with all toolbars closed, I use shortcuts quite extensively to execute standard IDE and ReSharper commands. Fortunately most commands already have shortcuts associated to them. However there are a few that I need to either map to new shortcuts or rebind to different key combination.
Below are my custom keyboard mappings:
| Command |
Shortcut |
| Build.BuildSelection |
Shift + F6 |
| Edit.LineOpenAbove |
Shift + Enter |
| Edit.ToggleWordWrap |
Alt + W |
| File.CloseAllButThis |
Ctrl + \ |
| Macros.MyMacros.TBF.CloseAllToolWindows |
Alt + S |
| Macros.MyMacros.TBF.DecreaseTextEditorFontSize |
Alt + [ |
| Macros.MyMacros.TBF.IncreaseTextEditorFontSize |
Alt + ] |
| Macros.MyMacros.TBF.RemoveRegions |
Ctrl + Shift + # |
| ReSharper.CollapseInSolutionExplorerAction |
Ctrl + ` |
| ReSharper.Generate |
Alt + I |
| ReSharper.GotoNextErrorInSolution |
Alt + 0 |
| ReSharper.MoveDown |
Ctrl + Left Windows, Ctrl + Down Arrow |
| ReSharper.MoveLeft |
Ctrl + Left Windows, Ctrl + Left Arrow |
| ReSharper.MoveRight |
Ctrl + Left Windows, Ctrl + Right Arrow |
| ReSharper.MoveUp |
Ctrl + Left Windows, Ctrl + Up Arrow |
| TestDriven.NET.RunTests |
F8 |
| TestDriven.NET.RerunTests |
Shift + F8 |
To change your keyboard binding in Visual Studio, follow the steps below:
-
Go to .
-
Select the command you would like to bind to (e.g. Macros.Samples.Accessibility.DecreaseTextEditorFondSize).
-
Select or where appropriate.
-
Enter your shortcut key (e.g. Alt + [).
-
Click on .

Once you’ve assigned all your keyboard shortcuts simply click OK and you’re done!