Eclipse Common shortcut keys

Source: Internet
Author: User
Tags save file

1 editing related shortcut keys
ALT +/: Help
CTRL + D: delete When moving forward
CTRL + M: Window maximization and restore
2 Viewing and locating shortcut keys
CTRL + K: Find the selection quickly up and down. (Select what you want to find, hold down CTRL + K)
CTRL + SHIFT + T: Find the Java class file in the workspace path, and do not suffer for the class being found, and you can use "*", "? "And so on wildcard characters.
CTRL + SHIFT + R: and CTRL + SHIFT + T correspond to find all the files in the workspace (including Java files), or you can use wildcard characters.
CTRL + SHIFT + G/ctrl + ALT + G: Find references to classes, methods, and properties."Because CTRL + Shift is used in the input method, the shortcut key is changed: Window---preferences->general-Key"
CTRL + SHIFT + 0: Quickly generate import
CTRL + SHIFT + F: Quick Format Code
ALT + SHIFT + W: View the path in the project where the current document is located.
CTRL + L: Locates a row of the current editor and is also valid for non-Java files
F3: A class, method, and property that quickly positions the cursor
F4: Displays the integration relationship of the class and opens the Class inheritance view.
3 Debugging shortcut keys
CTRL + SHIFT + B: Sets a breakpoint on the current line or cancels the set breakpoint.
F11: Debugging the last executed program
CTRL + F11: Runs the last executed program.
F5: Trace into the method, and when the program executes to a method, you can press the F5 key to trace to the method.
F6: Stepping through the program
F7: Executes the method, returning to the last statement that called this method.
4 Common editor shortcut keys
CTRL + C: Copy
CTRL + X: Cut
CTRL + V: Sticky
CTRL + S: Save file
CTRL + Z: Undo
CTRL + Y: Repeat
CTRL + F: Find
5 other shortcut keys
CTRL + F6: Switch to the next editor
CTRL + SHIFT + F6: Switch to previous editor
CTRL + F7: Switch to the next view
CTRL + SHIFT + F7: Switch to the previous view
CTRL + F8: Switch to a Perspective view
CTRL + SHIFT + F8: Switch to the previous view.

6 Setting shortcut keys

Because the Eclipse shortcut key may conflict with other shortcut keys, the most common is input method conflicts, so you can customize your own shortcut keys.

Window--preferences->general key

  

  

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.