Common eclipse shortcuts and eclipse shortcuts
The most common shortcut keys in Eclipse
Those familiar with eclipse must be very touched by its shortcut keys. many, but usually around 10. according to the practice in the project, the following is a little help to some unfamiliar friends.
Ctrl + Shift + O: import and manage imports statements
Ctrl + Shift + T: Open Type Search Class File
Ctrl + Shift + F4: Close the window opened
Ctrl + O: Open declarations
Ctrl + E: Open the Editor (switch window)
Ctrl +/: annotate the row
Alt + Shift + R: Rename
Alt + Shift + L: extract local variables
Alt + Shift + M: Extraction Method
F3: Open Declaration
The following content is added by netizens:
By sitinspring
Ctrl + D: delete this row
Ctrl + SHIFT + F: integer
By Gandi Feng
Ctrl + Alt + ↑: copy the row down (up)
Alt + ↑: Move the row down (up)
Alt +.: Output prompt
Note: I personally think this shortcut key is the most useful. (1) in the java class, to output the main method, you only need to enter main and then press enter to press the shortcut key; to output the System. out. println (), you only need to enter syso and press enter with this shortcut key. For example, to overwrite the toString () method of the parent class, you only need to enter to and then press enter with this shortcut key; for example, if you want to use a class without import (such as Calendar), you only need to enter the Ca and then use the shortcut key to select from the upper and lower keys. For example, if you want to generate a get for a field, set Method, you only need to enter get and then use this shortcut key to generate (the default is public); then, for example... (2) You can use this prompt to enter tags on the jsp page (tag attributes are prompted in the tag ). (3) This shortcut is also available in xml.
By Gandi Feng
Ctrl + S: Save the file.
Others include Ctrl + A, Z, X, C, V; Shift + →; Shift + cursor; here, we are tied together to facilitate your summary and query.
By yueda
Alt + shift + j add doc comments to the Function
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.