Eclipse Common Shortcut commands

Source: Internet
Author: User

1, vs, Chrome, Eclipse debug Command comparison:

Vs:
F5: Continue Running
F10: Single Step execution
F11: Entering function interior
Shift + F11: returned from inside the function at the call

Chrome:
F8: Continue Running
F10: Single Step execution
F11: Entering function interior
Shift + F11: returned from inside the function at the call

Eclipse:
F5: Entering function interior
F6: Single Step execution
F7: returned by function inside the call
F8: Run to the next breakpoint
F11: Debug Run
Ctrl + F11: Run directly

2. Common quick commands for eclipse

Window switch
Ctrl + M (toggle window size)
Ctrl + pageup/pagedown (Toggle tab left and right)

File Lookup
Ctrl + Shift + R (Quick Search file)
Ctrl + E (Find in Tabs)

File View
Ctrl +↓ (roll-down line)
Ctrl +↑ (roll up line)
Ctrl +-/+ (zoom in/Zoom Out)
Double-click on the left border of the window with a breakpoint, right-click to add line number

File Content Lookup
Ctrl + F (Find)
Ctrl + K (Find Next)
Ctrl + O (fast outline, positioning method)

Cursor Jump
F3 (jump to definition)
Alt +← (Fallback history)
Alt +→ (Forward history)
Ctrl + Q (jumps to the last edit)
Ctrl + Shift + P (navigate to the corresponding match, for example {})
Ctrl +. (The cursor moves to the next error, used with CTRL + 1)

Edit
Alt + Shift + R (rename)
Ctrl + Z (undo)
Ctrl + Y (Redo)
Alt +↓ (moves the current line down)
Alt +↑ (move current line up)
Ctrl + D (delete current line)

Comments
Ctrl + 1 (quick fix)
Ctrl + 1--(quick fix)
Alt +/(content Assist)
Ctrl +/(Add or remove comments (//))
Ctrl + Shift +/(Add comments (/* */))
Ctrl + Shift + \ (Delete comments (/* */))
F2 (Renaming a class file or project name, displaying annotations on a class or method)
ESC (Cancel prompt)

Eclipse Common Shortcut commands

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.