idea shortcuts

4
Code analysis Command Shortcut (IntelliJ IDEA/ReSharper 2.x) Toggle code analysis in the current file Ctrl+Shift+Alt+8 Go to next code issue (error, warning or suggestion) F12 Go to previous code issue (error, warning or suggestion) Shift+F12 Go to next error Alt+F12 Go to next error in solution Alt+F12 Go to previous error Shift+Alt+F12 Go to previous error in solution Shift+Alt+F12 Inspect this Ctrl+Shift+Alt+A View type hierarchy Ctrl+Alt+H Inspection Results window Ctrl+Alt+V Coding assistance Command Shortcut (IntelliJ IDEA/ReSharper 2.x) Show action list Ctrl+R,W Paste multiple Ctrl+Shift+V Code cleanup Ctrl+Alt+F Silent code cleanup Ctrl+Shift+Alt+F Symbol code completion Ctrl+Space Smart code completion Ctrl+Shift+Space Import symbol completion Ctrl+Alt+Space Complete statement Ctrl+Shift+Enter Parameter information Ctrl+P Quick documentation Ctrl+Q Insert live template Ctrl+J Surround with template Ctrl+Alt+J Create file from template Ctrl+Alt+Insert Generate code Alt+Insert Move code up Ctrl+Shift+Alt+Up Move code down Ctrl+Shift+Alt+Down Move code left Ctrl+Shift+Alt+Left Move code right Ctrl+Shift+Alt+Right

Upload: sreenivasulureddych

Post on 15-Dec-2014

9 views

Category:

Documents


0 download

DESCRIPTION

IDEA

TRANSCRIPT

Page 1: IDEA Shortcuts

Code analysis

CommandShortcut

(IntelliJ IDEA/ReSharper 2.x)Toggle code analysis in the current file Ctrl+Shift+Alt+8 Go to next code issue (error, warning or suggestion)

F12

Go to previous code issue (error, warning or suggestion)

Shift+F12

Go to next error Alt+F12 Go to next error in solution Alt+F12 Go to previous error Shift+Alt+F12 Go to previous error in solution Shift+Alt+F12 Inspect this Ctrl+Shift+Alt+A View type hierarchy Ctrl+Alt+HInspection Results window Ctrl+Alt+V

Coding assistance

CommandShortcut

(IntelliJ IDEA/ReSharper 2.x)Show action list Ctrl+R,WPaste multiple Ctrl+Shift+V Code cleanup Ctrl+Alt+F Silent code cleanup Ctrl+Shift+Alt+FSymbol code completion Ctrl+SpaceSmart code completion Ctrl+Shift+SpaceImport symbol completion Ctrl+Alt+SpaceComplete statement Ctrl+Shift+EnterParameter information Ctrl+PQuick documentation Ctrl+QInsert live template Ctrl+JSurround with template Ctrl+Alt+JCreate file from template Ctrl+Alt+InsertGenerate code Alt+InsertMove code up Ctrl+Shift+Alt+UpMove code down Ctrl+Shift+Alt+DownMove code left Ctrl+Shift+Alt+LeftMove code right Ctrl+Shift+Alt+RightExtend selection Ctrl+WShrink selection Ctrl+Shift+WSelect containing declaration Ctrl+Shift+[Duplicate a line or selection Ctrl+DComment with line comment Ctrl+/Comment with block comment Ctrl+Shift+/

Navigation and search

Page 2: IDEA Shortcuts

CommandShortcut

(IntelliJ IDEA/ReSharper 2.x)Go to type Ctrl+NGo To File Ctrl+Shift+NGo to file member Ctrl+F12Go to symbol Ctrl+Shift+Alt+NNavigate To Ctrl+Shift+GGo to type of symbol Ctrl+Shift+TGo to declaration Ctrl+BGo to implementation Ctrl+Shift+Alt+BGo to base symbols Ctrl+UGo to derived symbols Ctrl+Alt+BGo to usage Ctrl+Alt+F7Go to containing declaration Ctrl+[Go to next member/tag Alt+DownGo to previous member/tag Alt+UpFind usages Alt+F7Find usages (advanced) Shift+Alt+F7Highlight usages in file Ctrl+Shift+F7Go to previous usage Ctrl+Alt+UpGo to next usage Ctrl+Alt+DownRemove highlighting of usages EscView recent files Ctrl+EView recent edits Ctrl+Shift+Alt+BackspaceGo to previous edit Ctrl+Shift+BackspaceGo to related files Ctrl+Shift+Alt+GView bookmarks Ctrl+`Go to a numbered bookmark Ctrl+[numeric key]Set/remove a numbered bookmark Ctrl+Shift+[numeric key]Find Results window Ctrl+Alt+UFile structure Ctrl+F11To-do itemsStack Trace Explorer Ctrl+Shift+ELocate in Solution Explorer Shift+Alt+LAnalyze references Shift+Alt+Y

Refactorings

CommandShortcut

(IntelliJ IDEA/ReSharper 2.x)Refactor this Ctrl+Shift+R Rename F2 or Shift+F6Move F6 Safe delete Alt+Del Extract method Ctrl+Alt+M Introduce variable Ctrl+Alt+V Introduce field Ctrl+Alt+D Introduce parameter Ctrl+Alt+P Inline variable/method/field Ctrl+Alt+N

Page 3: IDEA Shortcuts

CommandShortcut

(IntelliJ IDEA/ReSharper 2.x)Encapsulate field Ctrl+R,E Change signature Ctrl+F6

Unit testing

CommandShortcut

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

Tool windows

CommandShortcut

(IntelliJ IDEA/ReSharper 2.x)File structure Ctrl+F11Find Results window Ctrl+Alt+UHierarchies windowInspection Results window Ctrl+Alt+V Stack Trace Explorer Ctrl+Shift+ETemplates Explorer window Alt+R,PTo-do itemsUnit Test Explorer Ctrl+Alt+T Unit Test Sessions Ctrl+Alt+R Close recent tool Ctrl+Shift+F4Activate recent tool Ctrl+Alt+Backspace