Eclipse Common shortcut keys

Source: Internet
Author: User

  1. Ctrl+1 Quick Fix
    ctrl+d: Delete the current row
    Ctrl+alt+↓ Copy the current row to the next row (replication incremented)
    Ctrl+alt+↑ Copy the current line to the previous row (replication incremented)
    Alt+↓ the current line and the next line of interaction (especially useful, can be omitted first cut, then pasted)
    Alt+↑ the current line and the upper row interaction position (IBID.)
    alt+← the previous edited page
    alt+→ next Edit page (of course, for the above article)
    Alt+enter displays the properties of the currently selected resource (project, or file or file)
    Shift+enter inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last)
    Shift+ctrl+enter Insert blank line in current line (principle above)

    ctrl+shift+g (view the shortcut key for a class or method being referenced)
    ctrl+q positioning to the last edited place
    ctrl+l positioning in a row (for people with programs over 100 have the gospel)
    ctrl+m maximize the current edit or view (and vice versa)
    ctrl+/comment on the current line, and then uncomment it
    ctrl+o Quick Display OutLine
    Ctrl+t quickly displays the inheritance structure of the current class
    ctrl+w Closing the current editer
    Ctrl+k The selected word quickly navigates to the next
    Ctrl+e Quick display of the current Editer drop-down list (in bold if the current page does not appear)
    ctrl+/(numpad) collapses all code in the current class
    ctrl+x (keypad) expands all code in the current class
    Ctrl+space Code Helper to complete the insertion of some code (but the general and IME conflict, you can modify the input method hotkey, you can also take up alt+/to replace)
    ctrl+shift+e Display Manager that manages all of the currently open view (you can choose to close, activate, and so on)
    Ctrl+j forward Incremental lookup (after pressing CTRL+J, each letter editor you enter provides a quick match to navigate to a word, if not, it is not found in the Stutes line, check a word, especially useful, this function idea two years ago)
    Ctrl+shift+j Reverse Incremental lookup (same as above, except forward)
    Ctrl+shift+f4 Close all open editer
    Ctrl+shift+x The text that is currently selected is all stale lowercase
    Ctrl+shift+y turns the currently selected text to lowercase
    ctrl+shift+f formatting of the current code
    ctrl+shift+p position to the match (for example {}) (after locating from the front, the cursor is in the match, back to front, or vice versa)

  2. Edit
    scope function shortcut keys
    Global Find and replace Ctrl+f
    Text Editor Find previous ctrl+shift+k
    Text editor Find next Ctrl+k
    Global Undo Ctrl + Z
    Global Replication Ctrl + C
    Global Restore previous selection alt+shift+↓
    Global clipping ctrl+x
    Global Quick Fix ctrl1+1
    Global Content assist alt+/
    Global All Check Ctrl + A
    Delete Delete globally
    Global Context information ALT +?
    alt+shift+?
    Ctrl+shift+space
    Java Editor Display tooltip description F2
    Java Editor Select encapsulated element alt+shift+↑
    The Java editor selects the previous element alt+shift+←
    The Java editor selects the next element alt+shift+→
    Text Editor incremental find Ctrl+j
    Text Editor Incremental reverse lookup ctrl+shift+j
    Global Paste Ctrl + V
    Global Redo Ctrl+y

  3. View
    scope function Shortcut keys
    Global magnification ctrl+=
    Global Shrink ctrl+-

  4. Window
    scope function Shortcut keys
    Global activation Editor F12
    Global Switch Editor Ctrl+shift+w
    Global on an editor Ctrl+shift+f6
    Globally on a view CTRL+SHIFT+F7
    Global on a Perspective view Ctrl+shift+f8
    Global Next editor Ctrl+f6
    Global Next View Ctrl+f7
    Global Next Perspective Ctrl+f8
    The text editor displays the ruler context menu Ctrl+w
    Global Display View menu CTRL+F10
    Global Display System Menu alt+-

  5. Navigation
    scope function shortcut keys
    Java Editor open structure ctrl+f3
    Global Open Type Ctrl+shift+t
    Global Open type hierarchy F4
    Global Open claims F3
    Global Open external Javadoc shift+f2
    Global Open Resource Ctrl+shift+r
    Global fallback history alt+←
    Global forward History alt+→
    Global on a CTRL +,
    Global Next Ctrl +.
    The Java Editor displays outline Ctrl+o
    Global Open Type Ctrl+shift+h in the hierarchy
    global go to matching parentheses ctrl+shift+p
    Global Go to previous edit location Ctrl+q
    The Java Editor goes to the previous member Ctrl+shift+↑
    The Java editor goes to the next member Ctrl+shift+↓
    text editor go to line ctrl+l

  6. Search
    scope function Shortcut keys
    Global presence in file Ctrl+shift+u
    Global Open Search dialog box ctrl+h
    Claims in the global workspace Ctrl+g
    References in the global workspace Ctrl+shift+g

  7. Text editing
    scope function Shortcut keys
    Text Editor overwrite toggle Insert
    Text Editor Roll Line ctrl+↑
    The text editor scrolls the line ctrl+↓

  8. File
    scope function Shortcut keys
    Global Save Ctrl+x
    Ctrl+s
    Global Print Ctrl+p
    Global Shutdown CTRL+F4
    Global Save All Ctrl+shift+s
    Global all off CTRL+SHIFT+F4
    Global Properties Alt+enter
    Global New CTRL + N

  9. source code
    Scope function Shortcut
    java editor formatting ctrl+shift+f
    java editor Uncomment ctrl+\
    java editor comment ctrl+/
    java editor add import Ctrl + Shift+m
    java editor uses try/catch blocks to surround the settings that are too common, so it is recommended to set them up here.

  10. run
    Scope function Shortcut
    global stepping back F7
    Global single-step skip F6
    global stepping into F5
    global stepping into select Ctrl+f5

    global continue F8
    Span style= "FONT-SIZE:16PX;" > Global use filter stepping Shift+f5

    global display ctrl+d

    global run to row ctrl+r
    global execution ctrl+u

Eclipse Common 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.