IntelliJ IDEA Shortcuts für Eclipse Entwickler: Unterschied zwischen den Versionen

Aus Byte-Welt Wiki
Zur Navigation springenZur Suche springen
(Refactoring)
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<table cellspacing="0" cellpadding="0" style="width:100%; text-align: left;">
+
==Editing==
<tr>
+
{|{{prettytable}}
  <th width="190px">Eclipse</th>
+
! Eclipse
  <th width="190px">IntelliJ IDEA</th>
+
! IntelliJ IDEA
  <th>Action</th>
+
! Action
</tr>
+
|-
<tr>
+
| Ctrl + Space
<th colspan="3">Editing</th>
+
| Ctrl + Space
</tr>
+
| Basic code completion (the name of any class, method or variable)
<tr>
+
|-
<td>Ctrl + Space</td>
+
|
<td>Ctrl + Space</td>
+
| Ctrl + Shift + Space
<td>Basic code completion (the name of any class, method or variable)</td>
+
| Smart code completion (filters the list of methods and variables by expected type)
</tr>
+
|-
<tr>
+
| Ctrl + Shift + Space
<td></td>
+
| Ctrl + P
<td>Ctrl + Shift + Space</td>
+
| Parameter info (within method call arguments)
<td>Smart code completion (filters the list of methods and variables by expected type)</td>
+
|-
</tr>
+
| F2
<tr>
+
| Ctrl + Q
<td>Ctrl + Shift + Space</td>
+
| Quick documentation lookup
<td>Ctrl + P</td>
+
|-
<td>Parameter info (within method call arguments)</td>
+
|
</tr>
+
| Ctrl + mouse over code
<tr>
+
| Brief Info
<td>F2</td>
+
|-
<td>Ctrl + Q</td>
+
| F2
<td>Quick documentation lookup</td>
+
| Ctrl + F1
</tr>
+
| Show descriptions of error or warning at caret
<tr>
+
|-
<td></td>
+
|
<td>Ctrl + mouse over code</td>
+
| Alt + Insert
<td>Brief Info</td>
+
| Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)
</tr>
+
|-
<tr>
+
|
<td>F2</td>
+
| Ctrl + O
<td>Ctrl + F1</td>
+
| Override methods
<td>Show descriptions of error or warning at caret</td>
+
|-
</tr>
+
|
<tr>
+
| Ctrl + I
<td></td>
+
| Implement methods
<td>Alt + Insert</td>
+
|-
<td>Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)</td>
+
|
</tr>
+
| Ctrl + Alt + T
<tr>
+
| Surround with... (if..else, try..catch, for, synchronized...)
<td></td>
+
|-
<td>Ctrl + O</td>
+
| Ctrl + Shift + C
<td>Override methods</td>
+
| Ctrl + Shift + Y
</tr>
+
| Comment/uncomment with line comment
<tr>
+
|-
<td></td>
+
| Ctrl + Shift + /
<td>Ctrl + I</td>
+
| Ctrl + Alt + Shift + Y
<td>Implement methods</td>
+
| Comment/uncomment with block comment
</tr>
+
|-
<tr>
+
| Alt + Shift + Up
<td></td>
+
| Ctrl + W
<td>Ctrl + Alt + T</td>
+
| Select successively increasing code blocks
<td>Surround with... (if..else, try..catch, for, synchronized...)</td>
+
|-
</tr>
+
| Alt + Shift + Down
<tr>
+
| Ctrl + Shift + W
<td>Ctrl + Shift + C</td>
+
| Decrease current selection to previous state
<td>Ctrl + Shift + Y</td>
+
|-
<td>Comment/uncomment with line comment</td>
+
|
</tr>
+
| Alt + Q
<tr>
+
| Context info
<td>Ctrl + Shift + /</td>
+
|-
<td>Ctrl + Alt + Shift + Y</td>
+
| Ctrl + 1
<td>Comment/uncomment with block comment</td>
+
| Alt + Enter
</tr>
+
| Show intention actions and quick-fixes
<tr>
+
|-
<td>Alt + Shift + Up</td>
+
| Ctrl + Shift + F
<td>Ctrl + W</td>
+
| Ctrl + Alt + L
<td>Select successively increasing code blocks</td>
+
| Reformat code
</tr>
+
|-
<tr>
+
| Ctrl + Shift + O
<td>Alt + Shift + Down</td>
+
| Ctrl + Alt + O
<td>Ctrl + Shift + W</td>
+
| Optimize imports
<td>Decrease current selection to previous state</td>
+
|-
</tr>
+
|
<tr>
+
| Ctrl + Shift + V
<td></td>
+
| Paste from recent buffers...
<td>Alt + Q</td>
+
|-
<td>Context info</td>
+
| Ctrl + Alt + Up
</tr>
+
| Ctrl + D
<tr>
+
| Duplicate current line or selected block
<td>Ctrl + 1</td>
+
|-
<td>Alt + Enter</td>
+
| Ctrl + D
<td>Show intention actions and quick-fixes</td>
+
| Ctrl + Y
</tr>
+
| Delete line at caret
<tr>
+
|-
<td>Ctrl + Shift + F</td>
+
| Shift + Enter
<td>Ctrl + Alt + L</td>
+
| Shift + Enter
<td>Reformat code</td>
+
| Start new line
</tr>
+
|-
<tr>
+
| Ctrl + Shift + X/Y
<td>Ctrl + Shift + O</td>
+
| Ctrl + Shift + U
<td>Ctrl + Alt + O</td>
+
| Toggle case for word at caret or selected block
<td>Optimize imports</td>
+
|-
</tr>
+
| Ctrl + Delete
<tr>
+
| Ctrl + Delete
<td></td>
+
| Delete to word end
<td>Ctrl + Shift + V</td>
+
|-
<td>Paste from recent buffers...</td>
+
|
</tr>
+
| Ctrl + Backspace
<tr>
+
| Delete to word start
<td>Ctrl + Alt + Up</td>
+
|-
<td>Ctrl + D</td>
+
| Ctrl + NumPad+/-
<td>Duplicate current line or selected block</td>
+
| Ctrl + NumPad+/-
</tr>
+
| Expand/collapse code block
<tr>
+
|-
<td>Ctrl + D</td>
+
| Ctrl + NumPad *
<td>Ctrl + Y</td>
+
| Ctrl + Shift + NumPad+
<td>Delete line at caret</td>
+
| Expand all
</tr>
+
|-
<tr>
+
| Ctrl + Shift + NumPad /
<td>Shift + Enter</td>
+
| Ctrl + Shift + NumPad-
<td>Shift + Enter</td>
+
| Collapse all
<td>Start new line</td>
+
|-
</tr>
+
| Ctrl + W
<tr>
+
| Ctrl + F4
<td>Ctrl + Shift + X/Y</td>
+
| Close active editor tab
<td>Ctrl + Shift + U</td>
+
|-
<td>Toggle case for word at caret or selected block</td>
+
| Alt + Up/Down
</tr>
+
| Ctrl + Shift + Up/Down
<tr>
+
| Move line up/down
<td>Ctrl + Delete</td>
+
|-
<td>Ctrl + Delete</td>
+
| Ctrl + Up/Down
<td>Delete to word end</td>
+
|
</tr>
+
| Scroll Line up/down
<tr>
+
|-
<td></td>
+
|}
<td>Ctrl + Backspace</td>
 
<td>Delete to word start</td>
 
</tr>
 
<tr>
 
<td>Ctrl + NumPad+/-</td>
 
<td>Ctrl + NumPad+/-</td>
 
<td>Expand/collapse code block</td>
 
</tr>
 
<tr>
 
<td>Ctrl + NumPad *</td>
 
<td>Ctrl + Shift + NumPad+</td>
 
<td>Expand all</td>
 
</tr>
 
<tr>
 
<td>Ctrl + Shift + NumPad /</td>
 
<td>Ctrl + Shift + NumPad-</td>
 
<td>Collapse all</td>
 
</tr>
 
<tr>
 
<td>Ctrl + W</td>
 
<td>Ctrl + F4</td>
 
<td>Close active editor tab</td>
 
</tr>
 
<tr>
 
<td>Alt + Up/Down</td>
 
<td>Ctrl + Shift + Up/Down</td>
 
<td>Move line up/down</td>
 
</tr>
 
<tr>
 
<td>Ctrl + Up/Down</td>
 
<td></td>
 
<td>Scroll Line up/down</td>
 
</tr>
 
  
<tr>
+
==Search/Replace==
<th colspan="3">Search/Replace</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td>Ctrl + F</td>
+
! Action
<td>Ctrl + F</td>
+
|-
<td>Find</td>
+
| Ctrl + F
</tr>
+
| Ctrl + F
<tr>
+
| Find
<td>Ctrl + K</td>
+
|-
<td>F3</td>
+
| Ctrl + K
<td>Find next</td>
+
| F3
</tr>
+
| Find next
<tr>
+
|-
<td>Ctrl + Shift + K</td>
+
| Ctrl + Shift + K
<td>Shift + F3</td>
+
| Shift + F3
<td>Find previous</td>
+
| Find previous
</tr>
+
|-
<tr>
+
| Ctrl + F
<td>Ctrl + F</td>
+
| Ctrl + R
<td>Ctrl + R</td>
+
| Replace
<td>Replace</td>
+
|-
</tr>
+
| Strg + H
<tr>
+
| Ctrl + Shift + F
<td>Strg + H</td>
+
| Find in path
<td>Ctrl + Shift + F</td>
+
|-
<td>Find in path</td>
+
|
</tr>
+
| Ctrl + Shift + R
<tr>
+
| Replace in path
<td></td>
+
|-
<td>Ctrl + Shift + R</td>
+
|}
<td>Replace in path</td>
 
</tr>
 
  
<tr>
+
==Usage Search==
<th colspan="3">Usage Search</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td>Ctrl + G</td>
+
! Action
<td>Alt + F7</td>
+
|-
<td>Find usages</td>
+
| Ctrl + G
</tr>
+
| Alt + F7
<tr>
+
| Find usages
<td>Ctrl + Shift + G</td>
+
|-
<td>Ctrl + F7</td>
+
| Ctrl + Shift + G
<td>Find usages in file</td>
+
| Ctrl + F7
</tr>
+
| Find usages in file
<tr>
+
|-
<td></td>
+
|
<td>Ctrl + Shift + F7</td>
+
| Ctrl + Shift + F7
<td>Highlight usages in file</td>
+
| Highlight usages in file
</tr>
+
|-
<tr>
+
|
<td></td>
+
| Ctrl + Alt + F7
<td>Ctrl + Alt + F7</td>
+
| Show usages
<td>Show usages</td>
+
|-
</tr>
+
| Ctrl + Shift + U
<tr>
+
|
<td>Ctrl + Shift + U</td>
+
| Show occurrences in file
<td></td>
+
|-
<td>Show occurrences in file</td>
+
|}
</tr>
 
  
<tr>
+
==Compile and Run==
<th colspan="3">Compile and Run</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td>Ctrl + B</td>
+
! Action
<td>Ctrl + F9</td>
+
|-
<td>Make project (compile modifed and dependent)</td>
+
| Ctrl + B
</tr>
+
| Ctrl + F9
<tr>
+
| Make project (compile modifed and dependent)
<td></td>
+
|-
<td>Ctrl + Shift + F9</td>
+
|
<td>Compile selected file, package or module</td>
+
| Ctrl + Shift + F9
</tr>
+
| Compile selected file, package or module
<tr>
+
|-
<td></td>
+
|
<td>Alt + Shift + F10</td>
+
| Alt + Shift + F10
<td>Select configuration and run</td>
+
| Select configuration and run
</tr>
+
|-
<tr>
+
|
<td></td>
+
| Alt + Shift + F9
<td>Alt + Shift + F9</td>
+
| Select configuration and debug
<td>Select configuration and debug</td>
+
|-
</tr>
+
| Ctrl + F11
<tr>
+
| Shift + F10
<td>Ctrl + F11</td>
+
| Run
<td>Shift + F10</td>
+
|-
<td>Run</td>
+
|
</tr>
+
| Shift + F9
<tr>
+
| Debug
<td></td>
+
|-
<td>Shift + F9</td>
+
|}
<td>Debug</td>
 
</tr>
 
  
<tr>
+
==Debugging==
<th colspan="3">Debugging</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td>F6</td>
+
! Action
<td>F8</td>
+
|-
<td>Step over</td>
+
| F6
</tr>
+
| F8
<tr>
+
| Step over
<td>F5</td>
+
|-
<td>F7</td>
+
| F5
<td>Step into</td>
+
| F7
</tr>
+
| Step into
<tr>
+
|-
<td></td>
+
|
<td>Shift + F7</td>
+
| Shift + F7
<td>Smart step into</td>
+
| Smart step into
</tr>
+
|-
<tr>
+
| F7
<td>F7</td>
+
| Shift + F8
<td>Shift + F8</td>
+
| Step out
<td>Step out</td>
+
|-
</tr>
+
| Ctrl + R
<tr>
+
| Alt + F9
<td>Ctrl + R</td>
+
| Run to cursor
<td>Alt + F9</td>
+
|-
<td>Run to cursor</td>
+
| Ctrl + U
</tr>
+
| Alt + F8
<tr>
+
| Evaluate expression
<td>Ctrl + U</td>
+
|-
<td>Alt + F8</td>
+
| F8
<td>Evaluate expression</td>
+
| F9
</tr>
+
| Resume program
<tr>
+
|-
<td>F8</td>
+
| Ctrl + Shift + B
<td>F9</td>
+
| Ctrl + F8
<td>Resume program</td>
+
| Toggle breakpoint
</tr>
+
|-
<tr>
+
| Alt + Shift + Q, B
<td>Ctrl + Shift + B</td>
+
| Ctrl + Shift + F8
<td>Ctrl + F8</td>
+
| View breakpoints
<td>Toggle breakpoint</td>
+
|-
</tr>
+
|}
<tr>
 
<td>Alt + Shift + Q, B</td>
 
<td>Ctrl + Shift + F8</td>
 
<td>View breakpoints</td>
 
</tr>
 
  
<tr>
+
==Navigation==
<th colspan="3">Navigation</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td>Ctrl + Shift + T</td>
+
! Action
<td>Ctrl + N</td>
+
|-
<td>Go to class</td>
+
| Ctrl + Shift + T
</tr>
+
| Ctrl + N
<tr>
+
| Go to class
<td>Ctrl + Shift + R</td>
+
|-
<td>Ctrl + Shift + N</td>
+
| Ctrl + Shift + R
<td>Go to file</td>
+
| Ctrl + Shift + N
</tr>
+
| Go to file
<tr>
+
|-
<td></td>
+
|
<td>Ctrl + Alt + Shift + N</td>
+
| Ctrl + Alt + Shift + N
<td>Go to symbol</td>
+
| Go to symbol
</tr>
+
|-
<tr>
+
| Ctrl (+ Shift) + Tab
<td>Ctrl (+ Shift) + Tab</td>
+
| Alt + Right/Left
<td>Alt + Right/Left</td>
+
| Go to next/previous editor tab
<td>Go to next/previous editor tab</td>
+
|-
</tr>
+
| Ctrl + L
<tr>
+
| Ctrl + G
<td>Ctrl + L</td>
+
| Go to line
<td>Ctrl + G</td>
+
|-
<td>Go to line</td>
+
| Ctrl + E
</tr>
+
| Ctrl + E
<tr>
+
| Recent files popup
<td>Ctrl + E</td>
+
|-
<td>Ctrl + E</td>
+
| Alt + Left/Right
<td>Recent files popup</td>
+
| Ctrl + Alt + Left/Right
</tr>
+
| Navigate back/forward
<tr>
+
|-
<td>Alt + Left/Right</td>
+
|
<td>Ctrl + Alt + Left/Right</td>
+
| Ctrl + Shift + Backspace
<td>Navigate back/forward</td>
+
| Navigate to last edit location
</tr>
+
|-
<tr>
+
| F3 or Ctrl + Click
<td></td>
+
| Ctrl + B or Ctrl + Click
<td>Ctrl + Shift + Backspace</td>
+
| Go to declaration
<td>Navigate to last edit location</td>
+
|-
</tr>
+
| Ctrl + T
<tr>
+
| Ctrl + Alt + B
<td>F3 or Ctrl + Click</td>
+
| Go to implementation(s)
<td>Ctrl + B or Ctrl + Click</td>
+
|-
<td>Go to declaration</td>
+
|
</tr>
+
| Ctrl + U
<tr>
+
| Go to super-method/super-class
<td>Ctrl + T</td>
+
|-
<td>Ctrl + Alt + B</td>
+
| Ctrl + Shift + Up/Down
<td>Go to implementation(s)</td>
+
| Alt + Up/Down
</tr>
+
| Go to previous/next method
<tr>
+
|-
<td></td>
+
| Ctrl + Shift + P
<td>Ctrl + U</td>
+
| Ctrl + &gt;/&lt;
<td>Go to super-method/super-class</td>
+
| Move to code block end/start
</tr>
+
|-
<tr>
+
| Ctrl + O
<td>Ctrl + Shift + Up/Down</td>
+
| Ctrl + F12
<td>Alt + Up/Down</td>
+
| File structure popup
<td>Go to previous/next method</td>
+
|-
</tr>
+
| F4
<tr>
+
| Ctrl + H
<td>Ctrl + Shift + P</td>
+
| Type hierarchy
<td>Ctrl + &gt;/&lt;</td>
+
|-
<td>Move to code block end/start</td>
+
|
</tr>
+
| Ctrl + Shift + H
<tr>
+
| Method hierarchy
<td>Ctrl + O</td>
+
|-
<td>Ctrl + F12</td>
+
| Ctrl + Alt + H
<td>File structure popup</td>
+
| Ctrl + Alt + H
</tr>
+
| Call hierarchy
<tr>
+
|-
<td>F4</td>
+
| Ctrl + . / Ctrl + ,
<td>Ctrl + H</td>
+
| F2 / Shift + F2
<td>Type hierarchy</td>
+
| Next/previous highlighted error
</tr>
+
|-
<tr>
+
| Alt + Shift + B
<td></td>
+
| Alt + Home
<td>Ctrl + Shift + H</td>
+
| Show navigation bar
<td>Method hierarchy</td>
+
|-
</tr>
+
|
<tr>
+
| Ctrl + Shift + T
<td>Ctrl + Alt + H</td>
+
| Navigate from/to the corresponding test class
<td>Ctrl + Alt + H</td>
+
|-
<td>Call hierarchy</td>
+
|}
</tr>
 
<tr>
 
<td>Ctrl + . / Ctrl + ,</td>
 
<td>F2 / Shift + F2</td>
 
<td>Next/previous highlighted error</td>
 
</tr>
 
<tr>
 
<td>Alt + Shift + B</td>
 
<td>Alt + Home</td>
 
<td>Show navigation bar</td>
 
</tr>
 
<tr>
 
<td></td>
 
<td>Ctrl + Shift + T</td>
 
<td>Navigate from/to the corresponding test class</td>
 
</tr>
 
  
<tr>
+
==Bookmarks==
<th colspan="3">Bookmarks</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td></td>
+
! Action
<td>F11</td>
+
|-
<td>Toggle bookmark</td>
+
|
</tr>
+
| F11
<tr>
+
| Toggle bookmark
<td></td>
+
|-
<td>Ctrl + F11</td>
+
|
<td>Toggle bookmark with mnemonic</td>
+
| Ctrl + F11
</tr>
+
| Toggle bookmark with mnemonic
<tr>
+
|-
<td></td>
+
|
<td>Ctrl + #[0-9]</td>
+
| Ctrl + #[0-9]
<td>Go to numbered bookmark</td>
+
| Go to numbered bookmark
</tr>
+
|-
<tr>
+
|
<td></td>
+
| Shift + F11
<td>Shift + F11</td>
+
| Show bookmarks
<td>Show bookmarks</td>
+
|-
</tr>
+
|}
  
<tr>
+
==Refactoring==
<th colspan="3">Refactoring</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td></td>
+
! Action
<td>F5</td>
+
|-
<td>Copy</td>
+
|
</tr>
+
| F5
<tr>
+
| Copy
<td></td>
+
|-
<td>F6</td>
+
|
<td>Move</td>
+
| F6
</tr>
+
| Move
<tr>
+
|-
<td>Alt + Shift + R</td>
+
| Alt + Shift + R
<td>Shift + F6</td>
+
| Shift + F6
<td>Rename</td>
+
| Rename
</tr>
+
|-
<tr>
+
| Alt + Shift + C
<td>Alt + Shift + C</td>
+
| Ctrl + F6
<td>Ctrl + F6</td>
+
| Change Signature
<td>Change Signature</td>
+
|-
</tr>
+
| Alt + Shift + I
<tr>
+
| Ctrl + Alt + N
<td>Alt + Shift + I</td>
+
| Inline
<td>Ctrl + Alt + N</td>
+
|-
<td>Inline</td>
+
| Alt + Shift + M
</tr>
+
| Ctrl + Alt + M
<tr>
+
| Extract Method
<td>Alt + Shift + M</td>
+
|-
<td>Ctrl + Alt + M</td>
+
| Ctrl + 2, L
<td>Extract Method</td>
+
| Ctrl + Alt + V
</tr>
+
| Extract Variable
<tr>
+
|-
<td>Ctrl + 2, L</td>
+
| Ctrl + 2, F
<td>Ctrl + Alt + V</td>
+
| Ctrl + Alt + F
<td>Extract Variable</td>
+
| Extract Field
</tr>
+
|-
<tr>
+
|
<td>Ctrl + 2, F</td>
+
| Ctrl + Alt + C
<td>Ctrl + Alt + F</td>
+
|
<td>Extract Field</td>
+
|-
</tr>
+
|
<tr>
+
| Ctrl + Alt + P
<td></td>
+
| Extract Parameter
<td>Ctrl + Alt + C</td>
+
|-
<td></td>
+
|}
</tr>
 
<tr>
 
<td></td>
 
<td>Ctrl + Alt + P</td>
 
<td>Extract Parameter</td>
 
</tr>
 
  
<tr>
+
==Live Templates==
<th colspan="3">Live Templates</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td></td>
+
! Action
<td>Ctrl + Alt + J</td>
+
|-
<td>Surround with Live Template</td>
+
|
</tr>
+
| Ctrl + Alt + J
<tr>
+
| Surround with Live Template
<td></td>
+
|-
<td>Ctrl + J</td>
+
|
<td>Insert Live Template</td>
+
| Ctrl + J
</tr>
+
| Insert Live Template
 +
|-
 +
|}
  
<tr>
+
==General==
<th colspan="3">General</th>
+
{|{{prettytable}}
</tr>
+
! Eclipse
<tr>
+
! IntelliJ IDEA
<td>Ctrl + M</td>
+
! Action
<td>Ctrl + Shift + F12</td>
+
|-
<td>Toggle maximizing editor</td>
+
| Ctrl + M
</tr>
+
| Ctrl + Shift + F12
<tr>
+
| Toggle maximizing editor
<td></td>
+
|-
<td>Alt + Shift + F</td>
+
|
<td>Add to Favorites</td>
+
| Alt + Shift + F
</tr>
+
| Add to Favorites
<tr>
+
|-
<td></td>
+
|
<td>Alt + Shift + I</td>
+
| Alt + Shift + I
<td>Inspect current file with current profile</td>
+
| Inspect current file with current profile
</tr>
+
|-
<tr>
+
|
<td></td>
+
| Ctrl + Alt + S
<td>Ctrl + Alt + S</td>
+
| Open Settings dialog
<td>Open Settings dialog</td>
+
|-
</tr>
+
|
<tr>
+
| Ctrl + Alt + Shift + S
<td></td>
+
| Open Project Structure dialog
<td>Ctrl + Alt + Shift + S</td>
+
|-
<td>Open Project Structure dialog</td>
+
| Ctrl + 3
</tr>
+
| Ctrl + Shift + A
<tr>
+
| Find Action
<td>Ctrl + 3</td>
+
|-
<td>Ctrl + Shift + A</td>
+
|
<td>Find Action</td>
+
| Ctrl + Tab
</tr>
+
| Switch between tabs and tool window
<tr>
+
|-
<td></td>
+
|
<td>Ctrl + Tab</td>
+
| Ctrl + Shift + C
<td>Switch between tabs and tool window</td>
+
| Copy Path
</tr>
+
|}
<tr>
 
<td></td>
 
<td>Ctrl + Shift + C</td>
 
<td>Copy Path</td>
 
</tr>
 
</table>
 
  
 +
==Weblinks==
 
[http://eclectide.com/blog/2014/02/27/intellij-idea-shortcuts-for-eclipse-users/ Quelle]
 
[http://eclectide.com/blog/2014/02/27/intellij-idea-shortcuts-for-eclipse-users/ Quelle]
 
[[Kategorie:IDE]]
 
[[Kategorie:IDE]]
 +
[[Kategorie:Eclipse]]
 +
[[Kategorie:IntelliJ]]

Aktuelle Version vom 28. Februar 2014, 11:18 Uhr

Editing

Eclipse IntelliJ IDEA Action
Ctrl + Space Ctrl + Space Basic code completion (the name of any class, method or variable)
Ctrl + Shift + Space Smart code completion (filters the list of methods and variables by expected type)
Ctrl + Shift + Space Ctrl + P Parameter info (within method call arguments)
F2 Ctrl + Q Quick documentation lookup
Ctrl + mouse over code Brief Info
F2 Ctrl + F1 Show descriptions of error or warning at caret
Alt + Insert Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)
Ctrl + O Override methods
Ctrl + I Implement methods
Ctrl + Alt + T Surround with... (if..else, try..catch, for, synchronized...)
Ctrl + Shift + C Ctrl + Shift + Y Comment/uncomment with line comment
Ctrl + Shift + / Ctrl + Alt + Shift + Y Comment/uncomment with block comment
Alt + Shift + Up Ctrl + W Select successively increasing code blocks
Alt + Shift + Down Ctrl + Shift + W Decrease current selection to previous state
Alt + Q Context info
Ctrl + 1 Alt + Enter Show intention actions and quick-fixes
Ctrl + Shift + F Ctrl + Alt + L Reformat code
Ctrl + Shift + O Ctrl + Alt + O Optimize imports
Ctrl + Shift + V Paste from recent buffers...
Ctrl + Alt + Up Ctrl + D Duplicate current line or selected block
Ctrl + D Ctrl + Y Delete line at caret
Shift + Enter Shift + Enter Start new line
Ctrl + Shift + X/Y Ctrl + Shift + U Toggle case for word at caret or selected block
Ctrl + Delete Ctrl + Delete Delete to word end
Ctrl + Backspace Delete to word start
Ctrl + NumPad+/- Ctrl + NumPad+/- Expand/collapse code block
Ctrl + NumPad * Ctrl + Shift + NumPad+ Expand all
Ctrl + Shift + NumPad / Ctrl + Shift + NumPad- Collapse all
Ctrl + W Ctrl + F4 Close active editor tab
Alt + Up/Down Ctrl + Shift + Up/Down Move line up/down
Ctrl + Up/Down Scroll Line up/down

Search/Replace

Eclipse IntelliJ IDEA Action
Ctrl + F Ctrl + F Find
Ctrl + K F3 Find next
Ctrl + Shift + K Shift + F3 Find previous
Ctrl + F Ctrl + R Replace
Strg + H Ctrl + Shift + F Find in path
Ctrl + Shift + R Replace in path

Usage Search

Eclipse IntelliJ IDEA Action
Ctrl + G Alt + F7 Find usages
Ctrl + Shift + G Ctrl + F7 Find usages in file
Ctrl + Shift + F7 Highlight usages in file
Ctrl + Alt + F7 Show usages
Ctrl + Shift + U Show occurrences in file

Compile and Run

Eclipse IntelliJ IDEA Action
Ctrl + B Ctrl + F9 Make project (compile modifed and dependent)
Ctrl + Shift + F9 Compile selected file, package or module
Alt + Shift + F10 Select configuration and run
Alt + Shift + F9 Select configuration and debug
Ctrl + F11 Shift + F10 Run
Shift + F9 Debug

Debugging

Eclipse IntelliJ IDEA Action
F6 F8 Step over
F5 F7 Step into
Shift + F7 Smart step into
F7 Shift + F8 Step out
Ctrl + R Alt + F9 Run to cursor
Ctrl + U Alt + F8 Evaluate expression
F8 F9 Resume program
Ctrl + Shift + B Ctrl + F8 Toggle breakpoint
Alt + Shift + Q, B Ctrl + Shift + F8 View breakpoints

Navigation

Eclipse IntelliJ IDEA Action
Ctrl + Shift + T Ctrl + N Go to class
Ctrl + Shift + R Ctrl + Shift + N Go to file
Ctrl + Alt + Shift + N Go to symbol
Ctrl (+ Shift) + Tab Alt + Right/Left Go to next/previous editor tab
Ctrl + L Ctrl + G Go to line
Ctrl + E Ctrl + E Recent files popup
Alt + Left/Right Ctrl + Alt + Left/Right Navigate back/forward
Ctrl + Shift + Backspace Navigate to last edit location
F3 or Ctrl + Click Ctrl + B or Ctrl + Click Go to declaration
Ctrl + T Ctrl + Alt + B Go to implementation(s)
Ctrl + U Go to super-method/super-class
Ctrl + Shift + Up/Down Alt + Up/Down Go to previous/next method
Ctrl + Shift + P Ctrl + >/< Move to code block end/start
Ctrl + O Ctrl + F12 File structure popup
F4 Ctrl + H Type hierarchy
Ctrl + Shift + H Method hierarchy
Ctrl + Alt + H Ctrl + Alt + H Call hierarchy
Ctrl + . / Ctrl + , F2 / Shift + F2 Next/previous highlighted error
Alt + Shift + B Alt + Home Show navigation bar
Ctrl + Shift + T Navigate from/to the corresponding test class

Bookmarks

Eclipse IntelliJ IDEA Action
F11 Toggle bookmark
Ctrl + F11 Toggle bookmark with mnemonic
Ctrl + #[0-9] Go to numbered bookmark
Shift + F11 Show bookmarks

Refactoring

Eclipse IntelliJ IDEA Action
F5 Copy
F6 Move
Alt + Shift + R Shift + F6 Rename
Alt + Shift + C Ctrl + F6 Change Signature
Alt + Shift + I Ctrl + Alt + N Inline
Alt + Shift + M Ctrl + Alt + M Extract Method
Ctrl + 2, L Ctrl + Alt + V Extract Variable
Ctrl + 2, F Ctrl + Alt + F Extract Field
Ctrl + Alt + C
Ctrl + Alt + P Extract Parameter

Live Templates

Eclipse IntelliJ IDEA Action
Ctrl + Alt + J Surround with Live Template
Ctrl + J Insert Live Template

General

Eclipse IntelliJ IDEA Action
Ctrl + M Ctrl + Shift + F12 Toggle maximizing editor
Alt + Shift + F Add to Favorites
Alt + Shift + I Inspect current file with current profile
Ctrl + Alt + S Open Settings dialog
Ctrl + Alt + Shift + S Open Project Structure dialog
Ctrl + 3 Ctrl + Shift + A Find Action
Ctrl + Tab Switch between tabs and tool window
Ctrl + Shift + C Copy Path

Weblinks

Quelle