ReSharper Web Help

Two sets of keyboard shortcuts are available for ReSharper commands:

  • Keyboard layout for users with Visual Studio background (Visual Studio).
  • Keyboard layout for users accustomed to IntelliJ IDEA-based shortcuts in ReSharper 2.5 and below (IntelliJ IDEA/ReSharper 2.x).

In this section, all commands are divided into several groups for your convenience:

Code analysis

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Toggle code analysis in the current file Ctrl+Shift+Alt+8 Ctrl+Shift+Alt+8
Go to next code issue (error, warning or suggestion) Alt+PgDn F12
Go to previous code issue (error, warning or suggestion) Alt+PgUp Shift+F12
Go to next error Shift+Alt+PgDn Alt+F12
Go to next error in solution Shift+Alt+PgDn Alt+F12
Go to previous error Shift+Alt+PgUp Shift+Alt+F12
Go to previous error in solution Shift+Alt+PgUp Shift+Alt+F12
Inspect this Ctrl+Shift+Alt+A Ctrl+Shift+Alt+A
View type hierarchyCtrl+E,HCtrl+Alt+H
Inspection Results window Ctrl+Alt+V Ctrl+Alt+V

Coding assistance

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Show action listCtrl+R,WCtrl+R,W
Paste multipleCtrl+Shift+V 
Code cleanupCtrl+E,CCtrl+Alt+F 
Silent code cleanupCtrl+E,FCtrl+Shift+Alt+F
Symbol code completionCtrl+SpaceCtrl+Space
Smart code completionCtrl+Alt+SpaceCtrl+Shift+Space
Import symbol completionShift+Alt+SpaceCtrl+Alt+Space
Complete statementCtrl+Shift+EnterCtrl+Shift+Enter
Parameter informationCtrl+Shift+SpaceCtrl+P
Quick documentationCtrl+Shift+F1Ctrl+Q
Insert live template Ctrl+E,LCtrl+J
Surround with template Ctrl+E,UCtrl+Alt+J
Create file from template Ctrl+Alt+InsertCtrl+Alt+Insert
Generate codeAlt+InsertAlt+Insert
Move code upCtrl+Shift+Alt+UpCtrl+Shift+Alt+Up
Move code downCtrl+Shift+Alt+DownCtrl+Shift+Alt+Down
Move code leftCtrl+Shift+Alt+LeftCtrl+Shift+Alt+Left
Move code rightCtrl+Shift+Alt+RightCtrl+Shift+Alt+Right
Extend selectionCtrl+Alt+RightCtrl+W
Shrink selectionCtrl+Alt+LeftCtrl+Shift+W
Select containing declarationCtrl+Shift+[Ctrl+Shift+[
Duplicate a line or selectionCtrl+DCtrl+D
Comment with line commentCtrl+Alt+/Ctrl+/
Comment with block commentCtrl+Shift+/Ctrl+Shift+/

Navigation and search

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Go to typeCtrl+TCtrl+N
Go To FileCtrl+Shift+TCtrl+Shift+N
Go to file memberAlt+\Ctrl+F12
Go to symbolShift+Alt+TCtrl+Shift+Alt+N
Navigate ToAlt+`Ctrl+Shift+G
Go to type of symbolCtrl+Shift+F11Ctrl+Shift+T
Go to declarationF12Ctrl+B
Go to implementationCtrl+F12Ctrl+Shift+Alt+B
Go to base symbolsAlt+HomeCtrl+U
Go to derived symbolsAlt+EndCtrl+Alt+B
Go to usageShift+Alt+F12Ctrl+Alt+F7
Go to containing declarationCtrl+[Ctrl+[
Go to next member/tagAlt+DownAlt+Down
Go to previous member/tagAlt+UpAlt+Up
Find usagesShift+F12Alt+F7
Find usages (advanced)Ctrl+Shift+Alt+F12Shift+Alt+F7
Highlight usages in file Shift+Alt+F11Ctrl+Shift+F7
Go to previous usageCtrl+Alt+PgUpCtrl+Alt+Up
Go to next usageCtrl+Alt+PgDnCtrl+Alt+Down
Remove highlighting of usagesEscEsc
View recent filesCtrl+,Ctrl+E
View recent editsCtrl+Shift+,Ctrl+Shift+Alt+Backspace
Go to previous editCtrl+Shift+BackspaceCtrl+Shift+Backspace
Go to related filesCtrl+Alt+F7Ctrl+Shift+Alt+G
View bookmarksCtrl+`Ctrl+`
Go to a numbered bookmarkCtrl+[numeric key]Ctrl+[numeric key]
Set/remove a numbered bookmarkCtrl+Shift+[numeric key]Ctrl+Shift+[numeric key]
Find Results windowCtrl+Alt+F12Ctrl+Alt+U
File structureCtrl+Alt+FCtrl+F11
To-do itemsCtrl+Alt+D
Stack Trace ExplorerCtrl+E,TCtrl+Shift+E
Locate in Solution ExplorerShift+Alt+LShift+Alt+L
Analyze referencesShift+Alt+YShift+Alt+Y

Refactorings

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Refactor this Ctrl+Shift+R Ctrl+Shift+R
Rename Ctrl+R,R F2 or Shift+F6
Move Ctrl+R,O F6
Safe delete Ctrl+R,D or Alt+Del Alt+Del
Extract method Ctrl+R,M Ctrl+Alt+M
Introduce variable Ctrl+R,V Ctrl+Alt+V
Introduce field Ctrl+R,F Ctrl+Alt+D
Introduce parameter Ctrl+R,P Ctrl+Alt+P
Inline variable/method/field Ctrl+R,I Ctrl+Alt+N
Encapsulate field Ctrl+R,E Ctrl+R,E
Change signature Ctrl+R,S Ctrl+F6

Unit testing

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Run unit tests Ctrl+U,R Ctrl+T,R
Debug unit tests Ctrl+U,D Ctrl+T,D
Run all tests in solution Ctrl+U,L Ctrl+T,L
Run current test session Ctrl+U,Y Ctrl+T,Y
Repeat previous test run Ctrl+U,Y Ctrl+T,Y
Append to test session Ctrl+U,A Ctrl+T,A
Create new test session Ctrl+U,N Ctrl+T,N
Unit Test Explorer Ctrl+Alt+U Ctrl+Alt+T
Unit Test Sessions Ctrl+Alt+T Ctrl+Alt+R

Tool windows

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
File structureCtrl+Alt+FCtrl+F11
Find Results windowCtrl+Alt+F12Ctrl+Alt+U
Hierarchies windowCtrl+Alt+H
Inspection Results window Ctrl+Alt+V Ctrl+Alt+V
Stack Trace ExplorerCtrl+E,TCtrl+Shift+E
Templates Explorer windowAlt+R,PAlt+R,P
To-do itemsCtrl+Alt+D
Unit Test Explorer Ctrl+Alt+U Ctrl+Alt+T
Unit Test Sessions Ctrl+Alt+T Ctrl+Alt+R
Close recent toolCtrl+Shift+F4Ctrl+Shift+F4
Activate recent toolCtrl+Alt+BackspaceCtrl+Alt+Backspace

See Also

Procedures

Reference

External Links