Eclipse Common shortcut Key Summary
CTRL + C (copy), ctrl+x (cut), CTRL + Z (undo), Ctrl+f (lookup), ctrl+h (Search for file or string), Ctrl+y (Redo), ctrl+/(double slash comment), alt+/(hint), ctrl+shift+ F (format code), Ctrl+d deletes the current line. 2) Ctrl+alt+down (UP) copies the current line to the next (top) row. 3) Alt+down, Alt+up. Move a single-line (multiline) code. is also better than CTRL + C shortcut keys. 4) Alt+shift+j to
Class, method, variable add comment, in class, method, first row of variable, press this key combination. The reason for the proposed use is to standardize the code.
1) ctrl+shift+r (very useful) quickly locate files (any type) in Eclipse. With this, just remember the approximate name of the file, you can search through the fuzzy query. There is no need to open one of the modules of a Java class, a file to find. In the study of the source code, it is also indispensable.
2) Ctrl+o Find the variable or method in the file. Our general practice is to pull the scroll bar one after the other to find their own way. Now just type in the previous name of the method and you can quickly filter out the method you want.
3) Ctrl+o Find the variable or method in the file. Our general practice is to pull the scroll bar one after the other to find their own way. Now just type in the previous name of the method and you can quickly filter out the method you want.
4) Ctrl+t Open the Declaration of a method. With this, you can quickly find the class or interface to which this method belongs, and view the contents of the method.
5) Ctrl+w. Close the active window you are editing.
6) Ctrl+k (look Down), ctrl+shift+k (look up) after a string is selected, press this shortcut to quickly navigate to the position where the character is to appear again in the current document. Ctrl+f (find) useful? But compared to this, it is a bad one. Because you do not need to open the Find window, you do not need to enter the characters you are looking for, just select what you are looking for. Useful when looking for variables, methods.
7) Ctrl+j above the search function has a limit, if there is no current to find the character, need to manually input, it is not easy to do. Ctrl+j, you can help. Just press this key, enter the character you want to jump, you can see the cursor in the page constantly jumping, navigate to what you want.
8) Ctrl+l to the first line 9) ctrl+e Select the file to activate window
CTRL +, CTRL +. (or Alt+left,alt+right) locate the location (or error) of your previous (previous) step. You've browsed through a few Java files, and when you go to another file and want to go back to the file you just accessed, use this key. or through the buttons on the toolbar. One) alt+shift+z Select a section of code, press this key to see what appears?? This should be what you want.
12) the button in the upper right corner of the Package Explorer view has a left arrow button that is in the pressed state to synchronize the files in the open file with the Navigation view.
4 Other:
1) ctrl+m window maximization 2) ctrl+shift+l (open shortcut key panel), Ctrl+shift+l (2) Press L two times (open Shortcut configuration Panel) 3) Alt+shift+t refactoring function panel shortcut 4) alt+shift+s Shortcut keys for the Edit function panel of the Code
Eclipse Common shortcut Key Summary