Transferred from: http://www.blogjava.net/bisal/archive/2007/02/23/100428.html
Easy to find by yourself.
Line Comment/Pin comment ctrl+/
Block comment/Pin comment ctrl+shift+/ctrl+shift+\ find replace Ctrl+h ctrl+f Find Next/go back to ctrl+k ctrl+shift+k jump to a row ctrl+l, ha used to editplus, and occasionally will knock down the Ctrl +g, find the current element's declaration ctrl+g find all references to the current element ctrl+shift+g reorganize import Ctrl+shift+o, can help you remove all unused import declarations at once! Quick Fix Ctrl+1 introduces a class (interface) Ctrl + SHIFT + M Add header comment Shift + ALT + J
CTRL + SHIFT + G: View references
CTRL + SHIFT + N: Rename
CTRL + SHIFT + O: Import class
CTRL + SHIFT + R: Start the last Run
CTRL + SHIFT + F: Formatting code
CTRL + C: Copy
Ctrl + V: Paste
CTRL + X: Cut and cut
CTRL + A: Select All
CTRL + F: Find
CTRL + Z: Undo
Ctrl + Y: Redo
CTRL + S: Save
---------------------------------------------------------------
The most used should be ctrl+shift+s.
There are also many formats to use.
---------------------------------------------------------------
CTRL + SHIFT + F formatting code
CTRL + SHIFT + O organization import
F3 opening a statement
ALT + SHIFT + R rename variable
---------------------------------------------------------------
Up
---------------------------------------------------------------
alt+/
---------------------------------------------------------------
ALT + Left
ALT + Right
CTRL + Q
---------------------------------------------------------------
CTRL + SHIFT + G: View references
CTRL + SHIFT + N: Rename
CTRL + SHIFT + F: Formatting code
CTRL + C: Copy
Ctrl + V: Paste
CTRL + A: Select All
CTRL + F: Find
CTRL + Z: Undo
CTRL + S: Save
Alt +/Smart Tips
---------------------------------------------------------------
CTRL + SHIFT + G: View references
CTRL + SHIFT + N: Rename
CTRL + SHIFT + O: Import class
CTRL + SHIFT + R: Start the last Run
CTRL + SHIFT + F: Formatting code
CTRL + C: Copy
Ctrl + V: Paste
CTRL + X: Cut and cut
CTRL + A: Select All
CTRL + F: Find
CTRL + Z: Undo
Ctrl + Y: Redo
CTRL + S: Save
Alt +/Smart Tips
F3 opening a statement
ALT + SHIFT + R rename variable
In fact, the most common is the following:
CTRL + SHIFT + O: Import class
CTRL + SHIFT + F: Formatting code
CTRL + C: Copy
Ctrl + V: Paste
CTRL + X: Cut and cut
CTRL + Z: Undo
CTRL + S: Save
Alt +/Smart Tips
---------------------------------------------------------------
Ctrl+m: Maximize/Minimize work area
alt+/: Smart Tips
F3: View statement
Crtl+1: Fix Error
Shift+alt+t: Refactoring
Shift+alt+m: Extracting functions
Shift+alt+r: Renaming
Shift+alt+c: changing function markers
Ctrl+shitf+f: Formatting code
---------------------------------------------------------------
CTRL + SHIFT + O: Import class
ATL +/: Tips
CTRL + SHIFT + T: Find related information
---------------------------------------------------------------
Eclipse Shortcut Key Guide
Edit
scope function Shortcut keys
Global Find and replace Ctrl+f
Text Editor Find previous Ctrl+shift+k
Text Editor Find Next Ctrl+k
Global Undo Ctrl + Z
Global Replication Ctrl + C
Global Restore Previous selection alt+shift+↓
Global clipping Ctrl+x
Global Quick Fix ctrl1+1
Global Content Assist alt+/
Global all check Ctrl + A
Delete delete globally
Global context information ALT +?
Alt+shift+?
Ctrl+shift+space
Java Editor display tooltip description F2
Java Editor Select encapsulated element alt+shift+↑
The Java editor selects the previous element alt+shift+←
The Java editor selects the next element alt+shift+→
Text Editor incremental find Ctrl+j
Text Editor incremental reverse lookup ctrl+shift+j
Global Paste Ctrl + V
Global Redo Ctrl+y
View
scope function Shortcut keys
Global magnification ctrl+=
Global Shrink ctrl+-
Window
scope function Shortcut keys
Global activation Editor F12
Global Switch Editor Ctrl+shift+w
Global on an editor Ctrl+shift+f6
Globally on a view CTRL+SHIFT+F7
Global on a Perspective view Ctrl+shift+f8
Global Next editor Ctrl+f6
Global Next View Ctrl+f7
Global Next Perspective Ctrl+f8
The text editor displays the ruler context menu Ctrl+w
Global Display View menu CTRL+F10
Global Display System Menu alt+-
Navigation
scope function Shortcut keys
Java Editor Open Structure ctrl+f3
Global Open Type Ctrl+shift+t
Global Open type Hierarchy F4
Global Open claims F3
Global Open External Javadoc shift+f2
Global Open Resource Ctrl+shift+r
Global fallback history alt+←
Global forward History alt+→
Global on a CTRL +,
Global Next Ctrl +.
The Java Editor displays outline Ctrl+o
Global open type Ctrl+shift+h in the hierarchy
Global go to matching parentheses ctrl+shift+p
Global go to previous edit location Ctrl+q
The Java editor goes to the previous member Ctrl+shift+↑
The Java editor goes to the next member Ctrl+shift+↓
Text editor go to line ctrl+l
Search
scope function Shortcut keys
Global presence in file Ctrl+shift+u
Global Open Search dialog box ctrl+h
Claims in the global workspace Ctrl+g
References in the global workspace Ctrl+shift+g
Text editing
scope function Shortcut keys
Text Editor overwrite toggle Insert
Text Editor Roll Line ctrl+↑
The text editor scrolls the line ctrl+↓
File
scope function Shortcut keys
Global Save Ctrl+x
Ctrl+s
Global Print Ctrl+p
Global Shutdown CTRL+F4
Global Save All Ctrl+shift+s
Global all off CTRL+SHIFT+F4
Global Properties Alt+enter
Global New CTRL + N
Project
scope function Shortcut keys
Global All Build Ctrl+b
Source
scope function Shortcut keys
Java Editor Formatting ctrl+shift+f
Java Editor Uncomment Ctrl +
Java Editor Comment ctrl+/
Java Editor Add import ctrl+shift+m
Java Editor Organization import Ctrl+shift+o
The Java Editor uses try/catch blocks to surround the settings, which are too common, so it is recommended to set them up here.
You can also use ctrl+1 to automatically fix it.
Run
scope function Shortcut keys
Global single-Step return F7
Global single-Step skip F6
Global single-step jump into F5
Global single-Step jump selection Ctrl+f5
Global Debug Last started F11
Global Continue F8
Global use filters to step SHIFT+F5
Global Add/Remove breakpoints Ctrl+shift+b
Global Display Ctrl+d
Global Run last boot ctrl+f11
Global Run to row ctrl+r
Global Execution Ctrl+u
Refactoring
scope function Shortcut keys
Global Undo Refactoring Alt+shift+z
Global Extraction Method Alt+shift+m
Global decimation local variable alt+shift+l
Global inline Alt+shift+i
Global Mobile Alt+shift+v
Global Rename Alt+shift+r
Global Redo Alt+shift+y
Eclipse shortcut keys