Eclipse shortcut keys

Source: Internet
Author: User

Edit shortcut Keys

"Alt +/": This shortcut is a good helper for the user to edit, can provide users with content, do not worry about the method and the name of the property, when the name of the class, method and attribute, more experience the "ALT +/" shortcut benefits.
Ctrl+shift +g: Finds references to classes, methods, and properties.
Ctrl+g or Ctrl + left mouse button: Find the current element's declaration
"Ctrl+t": Search the Implementation class
"ctrl+/" of the current interface: Quickly add or remove comments
"Ctrl+d": Delete the current line.
Ctrl+m: Window maximization and restore
"Ctrl+shift +f": Formatting code
"alt +←", "Alt +→": Back History and forward history
"F3": A class, method, and property that quickly positions the cursor.
Ctrl+alt + bottom: Copy one line of code Ctrl+alt + down/up
"Alt + bottom/up": Move one line of code Ctrl+alt + next
"ctrl+1": Quick fix and rename menu
"ctrl+f": Popup File Search /Replace Dialog
"Ctrl+shift +u": Finds the selected content in the file and represents the
"Ctrl+h" in the list: a powerful Find dialog pops up, including file lookups, Java lookups, and more.
Ctrl+l: Navigates to a line in the current editor
"Ctrl+o": Outlines are displayed.
Ctrl+shift+r: Displays the Open Resource dialog box to quickly navigate to a file (wildcard lookup is supported).
Ctrl+shift+t: Displays a dialog box with open type to quickly navigate to a type (wildcard lookup is supported).
Ctrl+shift +o: Quickly generate an import, or remove all unused import declarations at once. When copying 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 comments for the selected field, method, type


debugging shortcut keys
There are several shortcut keys in eclipse that are related to running debugging.
1. "Ctrl+shift +b": Sets a breakpoint on the current line or cancels the set breakpoint.
2. "F11": Debug the Last executed program.
3. "Ctrl+f11": Run the last executed program.
4. "F5": Trace into the method, when the program executes to a method, you can press the "F5" key to trace to the method.
5. "F6": Step Into the program.
6. "F7": Executes the method, returning to the next statement that called this method.
7. "F8": Continue execution to the next breakpoint or end of the program.

Eclipse shortcut keys

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.