1. Basic, Eclipse features
CTRL + D Delete when moving forward
ALT + Up/down Move up and move forward
Ctrl+alt+up/down Copy the current line and paste it to the next line. If multiple rows are selected (you can press Shift+up/down to select multiple rows), copy and paste multiple lines at once. Eclipse Classic shortcut keys, be sure to learn!
ALT + left/right Eclipse remember where you edited, press the two keys to jump back and forth in the history editor. When editing multiple files at the same time, especially useful!
Ctrl+1 Why is this shortcut key called Ctrl+1? It should be number one! Very important. When the code goes wrong, pressing the key combination will give you a lot of ways to resolve the error.
Shift+enter Insert a row below (the O inside vim)
Ctrl+shift+enter Insert a row above (the O inside vim)
2. Advanced
Ctrl+e Display the list of open files, select the file to edit with Up/down, enter. Sort of like the Ctrl+tab key in opera's browser.
CTRL + J This incremental search is a must-learn, lowercase j, search down, uppercase J, and search upwards.
Ctrl+k combined with incremental search to find the next match.
Ctrl+l jumps to a row. When the stack information tells you that the line is wrong, use this combination to quickly locate the wrong position.
Ctrl+m maximize the current view and press again to return. When you write code, you can maximize the current window and focus your energy.
CTRL +. Jumps to the next place with a yellow underline (warning), or red underline (compilation error)
Ctrl+o Open the outline of the current file to facilitate quick jump within the file. Press Ctrl+o again to show more elements (such as inherited methods)! Very good, no need to go to some outline view of a method, but also support method search it!
Ctrl+q jump to the last edited place
CTRL+F7 view switching typically opens the package View,editor View,outline view at the same time, with this shortcut, you can toggle the current view. Hold down CTRL to select the view with Up/down.
3. Advanced, try it occasionally.
Shift+alt+q Select a view
Shift+alt+x Select the method to execute the current file (when you do not want to use CTRL+F11)
Shift+alt+s Open the shortcut menu for code refactoring, press R to produce Getter/setter, press V to produce constructor
What if the Ctrl+shift+o class is not imported? Ctrl+1, and then enter? Yes, but you can try this combination.
Ctrl+shift+t Open type. This is flexible and can be used as a type finder.
4.Eclipse Keyboard Control Road
in order to become an Eclipse keyboard control, you must download an eclipse VIM plugin! Google a vrapper.
Configure a vim shortcut: Open configuration >keys, configure ctrl+shift+ V Enable/Disable shortcut keys for Vrapper.