Default Keyboard Shortcut Schemes
All ReSharper actions can be invoked with keyboard shortcuts. Most of the actions have default shortcuts, which you can use out of the box. For the rest of the actions, you can assign a preferred shortcut keys if needed.
ReSharper provides two default keyboard shortcuts schemes.
Visual Studio This scheme aims to minimize conflicts with Visual Studio's own keyboard shortcuts.
ReSharper 2.x/IntelliJ IDEA This scheme shares the majority of shortcuts with those used in IntelliJ IDEA and its derivative web development IDEs. It provides a common keyboard-centric experience among all JetBrains development environments.
Whatever scheme you choose, you can always change individual keyboard shortcuts later.
If you want to change the shortcut for any single command, go to alias (see the right column in the tables below), press the new shortcut keys, and click Assign. For more information, see configure keyboard shortcuts
, find the command by itsCode Analysis
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
Inspect this | Ctrl+Shift+Alt+A | Ctrl+Shift+Alt+A | ReSharper_InspectThis |
View hierarchy of types (C#, VB.NET, C++)/ #include directives (C++)/ styles (ASP.NET, Razor, CSS, XAML) | Ctrl+Alt+H | Ctrl+Alt+H | ReSharper_TypeHierarchyBrowse |
Inspection Results window | Ctrl+Alt+, | Ctrl+Alt+, | ReSharper_ShowInspectionWindow |
Coding Assistance
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
Show action list | Alt+Enter | Alt+Enter | ReSharper_AltEnter |
Paste from clipboard history | Ctrl+Shift+V | Ctrl+Shift+V | ReSharper_PasteMultiple |
Reformat code | Ctrl+Alt+L | Ctrl+Alt+L | ReSharper_ReformatCode |
Basic code completion | Ctrl+Space | Ctrl+Space | ReSharper_CompleteCodeBasic |
Smart code completion | Ctrl+Shift+Space | Ctrl+Shift+Space | ReSharper_CompleteCodeSmart |
Import symbol completion | Ctrl+Alt+Space | Ctrl+Alt+Space | ReSharper_CompleteCodeTypeName |
Force completion for non-preselected item | Ctrl+Enter | Ctrl+Enter | ReSharper_ForceCompleteItem |
Complete statement | Ctrl+Shift+Enter | Ctrl+Shift+Enter | ReSharper_CompleteStatement |
Parameter information: show/go to the next signature | Overrides Visual Studio command | Ctrl+P | ReSharper_ParameterInfoShow |
Parameter information: go to the previous signature | Ctrl+Shift+Alt+Space | Ctrl+Shift+Alt+Space | ReSharper_ParameterInfoGoToPreviousSignature |
Toggle Parameter Name Hints | Ctrl+Shift+Alt+5 | Ctrl+Shift+Alt+5 | ReSharper_ToggleParameterNameHints |
Quick documentation | Ctrl+Q | Ctrl+Q | ReSharper_QuickDoc |
Insert live template | Ctrl+J | Ctrl+J | ReSharper_LiveTemplatesInsert |
Surround with template | Ctrl+Alt+J | Ctrl+Alt+J | ReSharper_SurroundWith |
Create file from template | Ctrl+Alt+Insert | Ctrl+Alt+Insert | ReSharper_GenerateFileBesides |
Generate code | Alt+Insert | Alt+Insert | ReSharper_Generate |
Move code up | Ctrl+Shift+Alt+Up | Ctrl+Shift+Alt+Up | ReSharper_MoveUp |
Move code down | Ctrl+Shift+Alt+Down | Ctrl+Shift+Alt+Down | ReSharper_MoveDown |
Move code left | Ctrl+Shift+Alt+Left | Ctrl+Shift+Alt+Left | ReSharper_MoveLeft |
Move code right | Ctrl+Shift+Alt+Right | Ctrl+Shift+Alt+Right | ReSharper_MoveRight |
Extend selection | Ctrl+W | Ctrl+W | ReSharper_ExtendSelection |
Shrink selection | Ctrl+Shift+W | Ctrl+Shift+W | ReSharper_ShrinkSelection |
Select containing declaration | Ctrl+Shift+[ | Ctrl+Shift+[ | ReSharper_SelectContainingDeclaration |
Duplicate current line or selection | Ctrl+D | Ctrl+D | ReSharper_DuplicateText |
Join lines | Ctrl+Shift+J | ReSharper_JoinLines | |
Comment with line comment | Ctrl+/ | Ctrl+/ | ReSharper_LineComment |
Comment with block comment | Ctrl+Shift+/ | Ctrl+Shift+/ | ReSharper_BlockComment |
Run configurations pop-up | Ctrl+Shift+Alt+R | Ctrl+Shift+Alt+R | ReSharper_RunConfigSettings |
Run with/without building | Ctrl+Alt+F5 | Ctrl+Alt+F5 | ReSharper_CurrentConfigRunAlt |
Debug with/without building | Alt+F5 | Alt+F5 | ReSharper_CurrentConfigDebugAlt |
Navigation and Search
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
Search Everywhere/Go to Type | Ctrl+N | Ctrl+N | ReSharper_GotoType |
Go To File | Ctrl+Shift+N | Ctrl+Shift+N | ReSharper_GotoFile |
Go to file member | Ctrl+F12 | Ctrl+F12 | ReSharper_GotoFileMember |
Go to symbol | Ctrl+Shift+Alt+N | Ctrl+Shift+Alt+N | ReSharper_GotoSymbol |
Go to text | Ctrl+T,T,T | Ctrl+N,N,N | ReSharper_GotoText |
Navigate To | Ctrl+Shift+G | Ctrl+Shift+G | ReSharper_NavigateTo |
Go to type of symbol | Ctrl+Shift+T | Ctrl+Shift+T | ReSharper_GotoTypeDeclaration |
Go to declaration | Overrides Visual Studio command | Ctrl+B | ReSharper_GotoDeclaration |
Go to implementation | Overrides Visual Studio command | Ctrl+Shift+Alt+B | ReSharper_GotoImplementations |
Go to base symbols | Ctrl+U | Ctrl+U | ReSharper_GotoBase |
Go to derived symbols | Ctrl+Alt+B | Ctrl+Alt+B | ReSharper_GotoInheritors |
Go to usage | Ctrl+Alt+F7 | Ctrl+Alt+F7 | ReSharper_GotoUsage |
Structural navigation: forwards | Tab | Tab | ReSharper_StructuralNavigationForward |
Structural navigation: backwards | Shift+Tab | Shift+Tab | ReSharper_StructuralNavigationBackward |
Find usages | Alt+F7 | Alt+F7 | ReSharper_FindUsages |
Find usages of related entities | Shift+Alt+F7 | Shift+Alt+F7 | ReSharper_FindUsagesAdvanced |
Highlight usages in file | Ctrl+Shift+F7 | Ctrl+Shift+F7 | ReSharper_HighlightUsages |
Go to previous location/highlight | Ctrl+Alt+PageUp | Ctrl+Alt+PageUp | ReSharper_ResultListGoToPrevLocation |
Go to next location/highlight | Ctrl+Alt+PageDown | Ctrl+Alt+PageDown | ReSharper_ResultListGoToNextLocation |
Remove highlighting of usages | Esc | Esc | |
Go to breakpoints | Ctrl+Alt+F9 | Ctrl+Alt+F9 | ReSharper_GotoBreakpoints |
View bookmarks | Ctrl+` | Ctrl+` | ReSharper_BookmarksBookmarksMenu |
Go to numbered bookmark | Ctrl+[number] | Ctrl+[number] | ReSharper_BookmarksGoToBookmarkX |
Toggle numbered bookmark | Ctrl+Shift+[numeric,key] | Ctrl+Shift+[numeric,key] | ReSharper_BookmarksToggleBookmarkX |
Find Results window | Ctrl+Alt+U | Ctrl+Alt+U | ReSharper_ShowFindResults |
To-do items | Ctrl+Alt+. | Ctrl+Alt+. | ReSharper_ShowTodoExplorer |
Stack Trace Explorer | Ctrl+Shift+E | Ctrl+Shift+E | ReSharper_ExploreStackTrace |
Optimize References | Ctrl+Alt+Y | Ctrl+Alt+Y | ReSharper_OptimizeReferences |
Go to Action | Ctrl+Shift+A | Ctrl+Shift+A | ReSharper_GotoAction |
Refactorings
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
Refactor This | Ctrl+Shift+R | Ctrl+Shift+R | ReSharper_RefactorThis |
Rename | F2 | F2 | ReSharper_Rename |
Move | F6 | F6 | ReSharper_Move |
Safe delete | Alt+Delete | Alt+Delete | ReSharper_SafeDelete |
Extract method | Ctrl+Alt+M | Ctrl+Alt+M | ReSharper_ExtractMethod |
Introduce variable | Ctrl+Alt+V | Ctrl+Alt+V | ReSharper_IntroVariable |
Introduce field | Ctrl+Alt+D | Ctrl+Alt+D | ReSharper_IntroduceField |
Introduce parameter | Ctrl+Alt+P | Ctrl+Alt+P | ReSharper_IntroduceParameter |
Inline | Ctrl+Alt+N | Ctrl+Alt+N | ReSharper_InlineVariable |
Encapsulate field | Ctrl+R,E | Ctrl+R,E | ReSharper_EncapsulateField |
Change signature | Ctrl+F6 | Ctrl+F6 | ReSharper_ChangeSignature |
Unit Testing
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
---|---|---|---|
Run unit tests | Ctrl+T,R | Ctrl+T,R | ReSharper_UnitTestRunFromContext |
Debug unit tests | Ctrl+T,D | Ctrl+T,D | ReSharper_UnitTestDebugContext |
Run all tests in solution | Ctrl+T,L | Ctrl+T,L | ReSharper_UnitTestRunSolution |
Run current test session | Ctrl+T,Y | Ctrl+T,Y | ReSharper_UnitTestRunCurrentSession |
Repeat previous test run | Ctrl+T,T | Ctrl+T,T | ReSharper_UnitTestSessionRepeatPreviousRun |
Append to test session | Ctrl+T,A | Ctrl+T,A | ReSharper_UnitTestSessionAppendTests |
Create new test session | Ctrl+T,M | Ctrl+T,M | ReSharper_ProfileAllTestsInCurrentContextWithMemoryUnit |
Run tests under dotMemory Unit | Ctrl+T,N | Ctrl+T,N | ReSharper_UnitTestSessionNewSession |
Unit Test Explorer | Ctrl+Alt+T | Ctrl+Alt+T | ReSharper_ShowUnitTestExplorer |
Unit Test Sessions | Ctrl+Alt+R | Ctrl+Alt+R | ReSharper_ShowUnitTestSessions |
Tool Windows
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
---|---|---|---|
Find Results window | Ctrl+Alt+U | Ctrl+Alt+U | ReSharper_ShowFindResults |
Hierarchies window | Ctrl+Alt+H | Ctrl+Alt+H | ReSharper_TypeHierarchyBrowse |
Inspection Results window | Ctrl+Alt+, | Ctrl+Alt+, | ReSharper_ShowInspectionWindow |
Stack Trace Explorer | Ctrl+Shift+E | Ctrl+Shift+E | ReSharper_ExploreStackTrace |
To-do items | Ctrl+Alt+. | Ctrl+Alt+. | ReSharper_ShowTodoExplorer |
Unit Test Explorer | Ctrl+Alt+T | Ctrl+Alt+T | ReSharper_ShowUnitTestExplorer |
Unit Test Sessions | Ctrl+Alt+R | Ctrl+Alt+R | ReSharper_ShowUnitTestSessions |
Close recent tool window | Ctrl+Shift+F4 | Ctrl+Shift+F4 | ReSharper_WindowManagerCloseRecentTool |
Activate recent tool window | Ctrl+Alt+Backspace | Ctrl+Alt+Backspace | ReSharper_WindowManagerActivateRecentTool |