본문 바로가기

General/Tip For Programming

[Intelli J] Short cut (keyboard shortcuts)

[Intelli J] Short cut (keyboard shortcuts)


인텔리 하게 인텔리 J를 써보려고 시도했으나, 이클립스만 쓰던 내게는 넘사벽의 IDE...

자꾸 이클립스 단축키를 쓰고 있다는...

그래서 우선 인텔리 J 단축키를 공부해야겠네요.



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 fileCtrl+Shift+Alt+8Ctrl+Shift+Alt+8
Go to next code issue (error, warning or suggestion)Alt+PgDnF12
Go to previous code issue (error, warning or suggestion)Alt+PgUpShift+F12
Go to next errorShift+Alt+PgDnAlt+F12
Go to next error in solutionShift+Alt+PgDnAlt+F12
Go to previous errorShift+Alt+PgUpShift+Alt+F12
Go to previous error in solutionShift+Alt+PgUpShift+Alt+F12
Inspect thisCtrl+Shift+Alt+ACtrl+Shift+Alt+A
View type hierarchyCtrl+E,HCtrl+Alt+H
Inspection Results windowCtrl+Alt+VCtrl+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 templateCtrl+E,LCtrl+J
Surround with templateCtrl+E,UCtrl+Alt+J
Create file from templateCtrl+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 fileShift+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 thisCtrl+Shift+RCtrl+Shift+R
RenameCtrl+R,RF2 or Shift+F6
MoveCtrl+R,OF6
Safe deleteCtrl+R,D or Alt+DelAlt+Del
Extract methodCtrl+R,MCtrl+Alt+M
Introduce variableCtrl+R,VCtrl+Alt+V
Introduce fieldCtrl+R,FCtrl+Alt+D
Introduce parameterCtrl+R,PCtrl+Alt+P
Inline variable/method/fieldCtrl+R,ICtrl+Alt+N
Encapsulate fieldCtrl+R,ECtrl+R,E
Change signatureCtrl+R,SCtrl+F6


Unit testing

CommandShortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Run unit testsCtrl+U,RCtrl+T,R
Debug unit testsCtrl+U,DCtrl+T,D
Run all tests in solutionCtrl+U,LCtrl+T,L
Run current test sessionCtrl+U,YCtrl+T,Y
Repeat previous test runCtrl+U,YCtrl+T,Y
Append to test sessionCtrl+U,ACtrl+T,A
Create new test sessionCtrl+U,NCtrl+T,N
Unit Test ExplorerCtrl+Alt+UCtrl+Alt+T
Unit Test SessionsCtrl+Alt+TCtrl+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 windowCtrl+Alt+VCtrl+Alt+V
Stack Trace ExplorerCtrl+E,TCtrl+Shift+E
Templates Explorer windowAlt+R,PAlt+R,P
To-do itemsCtrl+Alt+D
Unit Test ExplorerCtrl+Alt+UCtrl+Alt+T
Unit Test SessionsCtrl+Alt+TCtrl+Alt+R
Close recent toolCtrl+Shift+F4Ctrl+Shift+F4
Activate recent toolCtrl+Alt+BackspaceCtrl+Alt+Backspace





See Also

Procedures

Reference

External Links