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

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

Version vom 28. Februar 2014, 11:14 Uhr

Eclipse IntelliJ IDEA Action
Editing
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
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
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
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
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
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
F11 Toggle bookmark
Ctrl + F11 Toggle bookmark with mnemonic
Ctrl + #[0-9] Go to numbered bookmark
Shift + F11 Show bookmarks
Refactoring
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
Ctrl + Alt + J Surround with Live Template
Ctrl + J Insert Live Template
General
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