Shortcuts that multiply the efficiency of eclipse editing

Source: Internet
Author: User

Edit shortcut Keys

"ALT +/": This shortcut for the user to edit a good helper, can provide users with the content of the auxiliary, do not remember the whole method and attribute name, when not the whole class, method and attribute name, more experience the "ALT +/" shortcut key benefits.
"Ctrl+shift +g": Find references to classes, methods, and properties.
"Ctrl+g" or Ctrl + left mouse button: Find the declaration for the current element
"Ctrl+t": Search the implementation class for the current interface
"ctrl+/": Add or remove comments quickly
"Ctrl+d": Deletes the current line.
"Ctrl+m": Window maximization and restore
"Ctrl+shift +f": Formatting code
"Alt +←", "Alt +→": Back History and forward history
"F3": A quick way to locate a class, method, and property of the cursor position.
"Ctrl+alt + Down/up": Copy one line of code Ctrl+alt + down/Up
"Alt + Bottom/top": Move one line of code Ctrl+alt + next
"ctrl+1": Quick Fix and rename menu
"Ctrl+f": Pop-up file Find/Replace dialog box
"Ctrl+shift +u": Find the selected content within the file and indicate in the list
"Ctrl+h": Pop-up Powerful Search dialog box, including file lookup, Java lookup and so on.
"Ctrl+l": Navigates to a row in the current editor
"Ctrl+o": Displays the outline.
Ctrl+shift+r: Displays the Open Resource dialog box, which enables you to quickly navigate to a file (wildcard lookup is supported).
Ctrl+shift+t: Displays the Open Type dialog box to quickly navigate to a type (wildcard lookup is supported).
"Ctrl+shift +o": Quickly generate import, or remove all unused import declarations at once. When you copy a program from the Internet, do not know how to import into the called class, try "Ctrl+shift +o" shortcut keys, there will be surprises.
"Alt+shift +j": Automatically generate selected fields, methods, types of comments


debugging shortcut keys
Some of the following shortcut keys for running debugging are available in eclipse.
1. "Ctrl+shift +b": A breakpoint that sets a breakpoint or cancels the setting on the current line.
2. "F11": Debug the Last execution of the program.
3. "Ctrl+f11": Run the last program executed.
4. "F5": Trace to the method, when the program executes to a method, you can press the "F5" key to trace to the method.
5. "F6": Step to execute the procedure.
6. "F7": After executing the method, return to the last statement that called this method.
7. "F8": Continue execution to the next breakpoint or program end.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.