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 , find the command by its alias (see the right column in the tables below), press the new shortcut keys, and click Assign.
In this section, all commands are divided into several groups for your convenience:
Code Analysis
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
---|---|---|---|
Toggle code analysis in the current file | Ctrl+Shift+Alt+8 | Ctrl+Shift+Alt+8 |
ReSharper_EnableDaemon
|
Go to next code issue (error, warning or suggestion) in file | Alt+PageDown | F12 |
ReSharper_GotoNextHighlight
|
Go to previous code issue (error, warning or suggestion) in file | Alt+PageUp | Shift+F12 |
ReSharper_GotoPrevHighlight
|
Go to next error in file/solution | Shift+Alt+PageDown | Alt+F12 |
ReSharper_GotoNextErrorInSolution
|
Go to previous error in file/solution | Shift+Alt+PageUp | Shift+Alt+F12 |
ReSharper_GotoPrevErrorInSolution
|
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+E,H | Ctrl+Alt+H |
ReSharper_TypeHierarchyBrowse
|
Inspection Results window | Ctrl+Alt+V | 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 multiple | Ctrl+Shift+V | Ctrl+Shift+V |
ReSharper_PasteMultiple
|
Code cleanup | Ctrl+E,C | Ctrl+Alt+F |
ReSharper_CleanupCode
|
Silent code cleanup | Ctrl+E,F | Ctrl+Shift+Alt+F |
ReSharper_SilentCleanupCode
|
Reformat code | Ctrl+Alt+Enter | Ctrl+Alt+L |
ReSharper_ReformatCode
|
Apply Code Style | Ctrl+Alt+S | Ctrl+Alt+S |
ReSharper_ApplyCodeStyle
|
Basic code completion | Ctrl+Space | Ctrl+Space |
ReSharper_CompleteCodeBasic
|
Smart code completion | Ctrl+Alt+Space | Ctrl+Shift+Space |
ReSharper_CompleteCodeSmart
|
Import symbol completion | Shift+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
Edit.ParameterInfo
(Ctrl+Shift+Space)
| Ctrl+P |
ReSharper_ParameterInfoShow
|
Parameter information: go to the previous signature | Ctrl+Shift+Alt+Space | Ctrl+Shift+Alt+Space |
ReSharper_ParameterInfoGoToPreviousSignature
|
Quick documentation | Ctrl+Shift+F1 | Ctrl+Q |
ReSharper_QuickDoc
|
Insert live template | Ctrl+E,L | Ctrl+J |
ReSharper_LiveTemplatesInsert
|
Surround with template | Ctrl+E,U | 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+Alt+Right | Ctrl+W |
ReSharper_ExtendSelection
|
Shrink selection | Ctrl+Alt+Left | 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
|
Comment with line comment | Ctrl+Alt+/ | 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 |
---|---|---|---|
Go to everything/type | Ctrl+T | Ctrl+N |
ReSharper_GotoType
|
Go To File | Ctrl+Shift+T | Ctrl+Shift+N |
ReSharper_GotoFile
|
Go to file member | Alt+\ | Ctrl+F12 |
ReSharper_GotoFileMember
|
Go to symbol | Shift+Alt+T | Ctrl+Shift+Alt+N |
ReSharper_GotoSymbol
|
Navigate To | Alt+~ | Ctrl+Shift+G |
ReSharper_NavigateTo
|
Go to type of symbol | Ctrl+Shift+F11 | Ctrl+Shift+T |
ReSharper_GotoTypeDeclaration
|
Go to declaration |
Overrides Visual Studio command
Edit.GotoDefinition
(F12).
| Ctrl+B |
ReSharper_GotoDeclaration
|
Go to implementation |
Overrides Visual Studio command
Edit.GotoDeclaration (Ctrl+F12).
| Ctrl+Shift+Alt+B |
ReSharper_GotoImplementation
|
Switch between header and source (C++) | Alt+O |
ReSharper_SwitchHeaderSource
| |
Go to base symbols | Alt+Home | Ctrl+U |
ReSharper_GotoBase
|
Go to derived symbols | Alt+End | Ctrl+Alt+B |
ReSharper_GotoInheritors
|
Go to usage | Shift+Alt+F12 | Ctrl+Alt+F7 |
ReSharper_GotoUsage
|
Go to containing declaration | Ctrl+[ | Ctrl+[ |
ReSharper_GotoContainingDeclaration
|
Go to next member/tag | Alt+Down | Alt+Down |
ReSharper_GotoNextMethod
|
Go to previous member/tag | Alt+Up | Alt+Up |
ReSharper_GotoPrevMethod
|
Find usages | Shift+F12 | Alt+F7 |
ReSharper_FindUsages
|
Find usages of related entities | Ctrl+Shift+Alt+F12 | Shift+Alt+F7 |
ReSharper_FindUsagesAdvanced
|
Highlight usages in file | Shift+Alt+F11 | Ctrl+Shift+F7 |
ReSharper_HighlightUsages
|
Go to previous usage | Ctrl+Alt+PageUp | Ctrl+Alt+PageUp |
ReSharper_ResultListGoToPrevLocation
|
Go to next usage | Ctrl+Alt+PageDown | Ctrl+Alt+PageDown |
ReSharper_ResultListGoToNextLocation
|
Remove highlighting of usages | Esc | Esc | |
View recent files | Ctrl+, | Ctrl+E |
ReSharper_GotoRecentFiles
|
View recent edits | Ctrl+Shift+, | Ctrl+Shift+Alt+Backspace |
ReSharper_GotoRecentEdits
|
Go to previous edit | Ctrl+Shift+Back | Ctrl+Shift+Backspace |
ReSharper_GotoLastEditLocation
|
Go to related files | Ctrl+Alt+F7 | Ctrl+Shift+Alt+G |
ReSharper_GotoRelatedFiles
|
View bookmarks | Ctrl+~ | Ctrl+~ |
ReSharper_BookmarksBookmarksMenu
|
Go to a numbered bookmark X | Ctrl+[numeric,key] | Ctrl+[numeric,key] |
ReSharper_BookmarksGoToBookmarkX
|
Set/remove a numbered bookmark X | Ctrl+Shift+[numeric,key] | Ctrl+Shift+[numeric,key] |
ReSharper_BookmarksToggleBookmarkX
|
Find Results window | Ctrl+Alt+F12 | Ctrl+Alt+U |
ReSharper_ShowFindResults
|
File structure | Ctrl+Alt+F | Ctrl+F11 |
ReSharper_ShowCodeStructure
|
To-do items | Ctrl+Alt+D | Ctrl+Alt+. |
ReSharper_ShowTodoExplorer
|
Stack Trace Explorer | Ctrl+E,T | Ctrl+Shift+E |
ReSharper_ExploreStackTrace
|
Locate in Solution/Assembly Explorer | Shift+Alt+L | Shift+Alt+L |
ReSharper_LocateInSolutionOrAssemblyExplorer
|
Optimize References | Ctrl+Alt+Y | Ctrl+Alt+Y |
ReSharper_OptimizeReferences
|
Peek Definition | Ctrl+Shift+Q | Ctrl+Shift+Q |
ReSharper_PeekDefinition
|
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 | Ctrl+R,R | F2 |
ReSharper_Rename
|
Move | Ctrl+R,O | F6 |
ReSharper_Move
|
Safe delete | Ctrl+R,D | Alt+Delete |
ReSharper_SafeDelete
|
Extract method | Ctrl+R,M | Ctrl+Alt+M |
ReSharper_ExtractMethod
|
Introduce variable | Ctrl+R,V | Ctrl+Alt+V |
ReSharper_IntroVariable
|
Introduce field | Ctrl+R,F | Ctrl+Alt+D |
ReSharper_IntroduceField
|
Introduce parameter | Ctrl+R,P | Ctrl+Alt+P |
ReSharper_IntroParameter
|
Inline variable/method/field | Ctrl+R,I | Ctrl+Alt+N |
ReSharper_InlineVariable
|
Encapsulate field | Ctrl+R,E | Ctrl+R,E |
ReSharper_EncapsulateField
|
Change signature | Ctrl+R,S | Ctrl+F6 |
ReSharper_ChangeSignature
|
Unit Testing
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
---|---|---|---|
Run unit tests | Ctrl+U,R | Ctrl+T,R |
ReSharper_UnitTestRunContext
|
Debug unit tests | Ctrl+U,D | Ctrl+T,D |
ReSharper_UnitTestDebugContext
|
Run all tests in solution | Ctrl+U,L | Ctrl+T,L |
ReSharper_UnitTestRunSolution
|
Run current test session | Ctrl+U,Y | Ctrl+T,Y |
ReSharper_UnitTestRunCurrentSession
|
Repeat previous test run | Ctrl+U,U | Ctrl+T,T |
ReSharper_UnitTestSessionRepeatPreviousRun
|
Append to test session | Ctrl+U,A | Ctrl+T,A |
ReSharper_UnitTestSessionAppendTests
|
Create new test session | Ctrl+U,N | Ctrl+T,N |
ReSharper_UnitTestSessionNewSession
|
Unit Test Explorer | Ctrl+Alt+U | Ctrl+Alt+T |
ReSharper_ShowUnitTestExplorer
|
Unit Test Sessions | Ctrl+Alt+T | Ctrl+Alt+R |
ReSharper_ShowUnitTestSessions
|
Tool Windows
Command | Shortcut (Visual Studio) | Shortcut (IntelliJ IDEA/ ReSharper 2.x) | Alias |
---|---|---|---|
File structure | Ctrl+Alt+F | Ctrl+F11 |
ReSharper_ShowCodeStructure
|
Find Results window | Ctrl+Alt+F12 | Ctrl+Alt+U |
ReSharper_ShowFindResults
|
Hierarchies window | Ctrl+E,H | Ctrl+Alt+H |
ReSharper_TypeHierarchyBrowse
|
Inspection Results window | Ctrl+Alt+V | Ctrl+Alt+, |
ReSharper_ShowInspectionWindow
|
Stack Trace Explorer | Ctrl+E,T | Ctrl+Shift+E |
ReSharper_ExploreStackTrace
|
To-do items | Ctrl+Alt+D | Ctrl+Alt+. |
ReSharper_ShowTodoExplorer
|
Unit Test Explorer | Ctrl+Alt+U | Ctrl+Alt+T |
ReSharper_ShowUnitTestExplorer
|
Unit Test Sessions | Ctrl+Alt+T | Ctrl+Alt+R |
ReSharper_ShowUnitTestSessions
|
Close recent tool window | Ctrl+Shift+F4 | Ctrl+Shift+F4 |
ReSharper_WindowManagerCloseRecentTool
|
Activate recent tool window | Ctrl+Alt+Back | Ctrl+Alt+Backspace |
ReSharper_WindowManagerActivateRecentTool
|