java快捷键方法(Java shortcut key method)
java快捷键方法(Java shortcut key method)
1. commonly used shortcut keys
(1) Ctrl+Space
Description: content assistant. To provide methods, variables, parameters, Javadoc and other tips, used in a variety of occasions, in short time can according to need to prompt this shortcut.
Note: avoid the switchover settings of the input method conflict with this setting
(2) Ctrl+Shift+Space
Description: variable tips
(3) Ctrl+/
Description: Add / remove / eliminate notes, in eclipse2.0, for the Ctrl+\ notes
(4) Ctrl+Shift+/
Explanation: add comments
(5) Ctrl+Shift+\
Explanation: removing notes
(6) Ctrl+Shift+F
Explanation: automatic formatting of code
(7) Ctrl+1 //*****************************
Description: batch modify the variable name in the source code, in addition, can also be used on the catch block
(8) Ctril+F6
Description: interface switching
(9) Ctril+Shift+M
Directions: find the packages you need
(10) Ctril+Shift+O
Description: automatically introduces needed packets
(11) Ctrl+Alt+S
Explanation: the source code has a shortcut menu. Among them are Generate, getters, and, setters, and Surround with try/catch
Block is more commonly used. It is recommended to add them as shortcut keys. The shortcut key is set at
windows->preferences->Workbench->Keys
2. shortcut key list
edit
Scope function shortcut key
Global find and replace Ctrl+F
The text editor looks up the last Ctrl+Shift+K
The text editor looks for the next Ctrl+K network administrator
to download dl.bitscn.com
Global undo Ctrl+Z
Global replication Ctrl+C
The global recovery on a choice: Alt+Shift+
Global cut Ctrl+X
Global fast fix Ctrl1+1
Global content assist Alt+/
Global Select Ctrl+A all
Global delete Delete
Global context information Alt+? Alt+Shift+? Ctrl+Shift+Space?
The Java editor displays the tooltip description F2
Java Alt+Shift+ = editor select package elements
A Java editor Alt+Shift+ - select elements
The Java editor selects the next element "Alt+Shift+"
Text editor incremental lookup Ctrl+J
Text editor incremental reverse lookup Ctrl+Shift+J
Global paste Ctrl+V
Global redo Ctrl+Y
See
Scope function shortcut key
Global zoom Ctrl+=
Global narrowing Ctrl+-
window
Scope function shortcut key
Global activation editor F12
Global switch editor Ctrl+Shift+W
Global editor Ctrl+Shift+F6
Global view Ctrl+Shift+F7
A global perspective, Ctrl+Shift+F8
The next global editor Ctrl+F6
Global view next Ctrl+F7
The next global 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 key
The Java editor opens the structure Ctrl+F3
Global open type Ctrl+Shift+T Network Management Download
dl.bitscn.com
Global open type hierarchy F4
Global open declaration F3
Global open external Javadoc Shift+F2
Global open resource Ctrl+Shift+R
Global History - back Alt+
Global progress history Alt+
A Ctrl+ on the whole,
Global next Ctrl+.
The Java editor displays outline Ctrl+O
Global opens the type Ctrl+Shift+H in the hierarchy
Global go to match parentheses Ctrl+Shift+P
Go global to the previous edit location, Ctrl+Q
The Java editor turned to a member of the Ctrl+Shift+ increase
The Java editor to a member of the Ctrl+Shift+ case
The text editor goes to line Ctrl+L
search
Scope function shortcut key
Global appears in the file, Ctrl+Shift+U
Global open search dialog box Ctrl+H
Declare Ctrl+G in global workspace
The reference Ctrl+Shift+G in the global workspace
Text editing
Scope function shortcut key
Text editor overwrite toggle Insert
Text editor for Ctrl+ roll up
The text editor under rolling down Ctrl+
file
Scope function shortcut key
Save global Ctrl+X Ctrl+S
Global print Ctrl+P
Global shutdown Ctrl+F4
Save all Ctrl+Shift+S
Global shutdown Ctrl+Shift+F4
Global property Alt+Enter
Global new Ctrl+N
project
Scope function shortcut key
Global build Ctrl+B
source code
Scope function shortcut key management network www_bitscn_com
Java editor Ctrl+Shift+F //***************** format
The Java editor comments Ctrl+\
Java editor comment Ctrl+/
Add import Ctrl+Shift+M to the Java editor
The Java editor organization imports Ctrl+Shift+O
The Java editor uses try/catch blocks to surround, not set, and is too often used, so here's the list, and suggest your own settings. You can also use Ctrl+1 to correct them automatically.
Function
Scope function shortcut key
Global single step to return F7
Global single step skip F6
Global single step dive into F5
Global single step dive select Ctrl+F5
Global debugging, start F11 last time
Global continue F8
Global use of filters to step Shift+F5
Global add / remove breakpoint Ctrl+Shift+B
Global display Ctrl+D
Global operation, start Ctrl+F11 last time
Global run to line Ctrl+R
Global execution Ctrl+U
Restructure
Scope function shortcut key
Global undo refactoring Alt+Shift+Z
Global extraction method Alt+Shift+M
Global extraction of local variables Alt+Shift+L
Global inline Alt+Shift+I
Global mobile Alt+Shift+V
Global rename Alt+Shift+R
Global redo Alt+Shift+Y