Eclipse/myeclipse the most commonly used shortcut keys

Source: Internet
Author: User

F-Key class

F2 Show Details

F3 jump to the place of declaration or definition

CTRL + Key Class

Ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say more)

Ctrl+d Delete When moving forward

Ctrl+e quick display of the current Editer drop-down list (in bold if the current page does not appear)

Ctrl+t quickly displays the inheritance structure of the current class

Ctrl+o Quick Display OutLine

CTRL + F Find/Replace

CTRL +/Is this comment in the Code window (the recommended Ctrl +shift + C comment)

Ctrl+q positioning to the last edited place

Ctrl+l positioning in a row

Ctrl+w Closing the current editer

Ctrl+k the selected Word quickly navigates to the next

ctrl+-(numpad) collapses all code in the current class

ctrl++ (keypad) expands all code in the current class

Ctrl+j Forward Incremental Lookup (view state Bar) (Ctrl+shift+j reverse incremental lookup)

Shift + Key Class

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)

ALT + Key Class

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/file/file)

CTRL + Shift + key class

Ctrl +shift+c is such a comment in the Code window (press again, uncomment)

Ctrl+shift+f formatting of the current code

Ctrl+shift+o function is missing import statement is added, extra import statement is deleted

CTRL+SHIFT+M (placing the cursor on the class name of the package to be imported) is to add an import statement

Ctrl +shift+t Open type (easy to find files)

Ctrl+shift+w Close all open files currently

Ctrl+shift+s Save all unsaved files

Ctrl+shift+e Display manager that manages all of the currently open View (you can choose to close, activate, and so on)

Ctrl+shift+x all the currently selected text to uppercase

Ctrl+shift+y turns the currently selected text to lowercase

CTRL+SHIFT+J Reverse Incremental lookup (Ctrl+j forward incremental lookup)

Ctrl+alt + Key Class

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+shift + Key Class

The following shortcut keys are commonly used in refactoring (note: The shortcut keys for general refactoring are Alt+shift + key classes)

Alt+shift+r Rename (of course, F2 can have the same effect)

Alt+shift+m Extraction Method (This is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)

Alt+shift+l extracting local variables

Alt+shift+c Modify the method structure (more practical, there are multiple classes called this method, modified once done)

Alt+shift+f change the local variable in Class to a field variable

Alt+shift+i separating local variables (as opposed to extracting local variables)

Alt+shift+z reconstruction of Regret medicine (Undo)

Most commonly used

F2 Show Details

F3 jump to the place of declaration or definition

Ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say more)

Ctrl+d Delete When moving forward

Ctrl +shift+c is such a comment in the Code window (press again, uncomment)

Ctrl+shift+f formatting of the current code

Ctrl+shift+o function is missing import statement is added, extra import statement is deleted

Ctrl+e quick display of the current Editer drop-down list (in bold if the current page does not appear)

Ctrl+t quickly displays the inheritance structure of the current class

Ctrl+o Quick Display OutLine

CTRL + F Find/Replace

Ctrl +shift+t (Find files)

Alt+shift+r Rename (of course, F2 can have the same effect)

Alt+shift+m Extraction Method (This is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)

Alt+shift+l extracting local variable declarations

[NET pick] How to find all classes that call method A () in eclipse

Ctrl+shift+g

Add: My frequently used eclipse shortcut keys

Alt+shift+r renaming

Ctrl+d: Delete When moving forward
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)

Ctrl+o Quick Display OutLine
Ctrl+t quickly displays the inheritance structure of the current class

Ctrl+e quick display of the current Editer drop-down list (in bold if the current page does not appear)

Ctrl+k the selected word quickly navigates to the next

ctrl+/(numpad) collapses all code in the current class

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)

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

    • Ctrl + Shift + O : Import and manage Imports statements
    • Ctrl + Shift + T : Opens open Type find class file
    • Ctrl + Shift + F4 : Close the window where you are opening
    • Ctrl + O : Open declarations
    • Ctrl + E : Open Editor (toggle window)
    • Ctrl +/ : note the bank
    • Alt + Shift + R : rename
    • Alt + Shift + L : Extract Local variables
    • Alt + Shift + M : Extraction method
    • F3 : Open Declaration

Ctrl + D: Delete Bank
Ctrl + SHIFT + F: Shaping

Ext: Eclipse shortcut key Daquan (reprint)

Ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say more)
Ctrl+d: Delete When moving forward
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+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)

The following shortcut keys are commonly used in refactoring, I like and commonly used to tidy up (note: The General refactoring of the shortcut keys are the beginning of the Alt+shift)
alt+shift+r  rename   (it's my favorite one, In particular, the rename of variables and classes can save a lot of labor than manual methods.
alt+shift+m  Extraction Method   (This is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)
Alt+shift+c   Modify the function structure (more practical, there are n functions called this method, modify it once)
alt+shift+l  extract Local variables (  can directly extract some magic numbers and strings into a variable, especially when multiple calls)
alt+shift+f  change the local variable in class to field variable   (more useful function)
alt+shift+i  merge variable (which may be a bit inappropriate)
Alt + shift+v  moving functions and variables (not commonly used)
alt+shift+z  refactoring of Regret pills (Undo)

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


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

 
Window
Scopes   functions   shortcut keys  
Global   Activate editor  f12 
Global   Toggle Editor  ctrl+shift +w 
Global   Previous editor  ctrl+shift+f6 
Global   previous view  ctrl+shift+f7 
Global   Previous perspective  ctrl+shift+f8 
Global   next editor  ctrl+f6 
Global   next view  ctrl+f7 
Global   Next perspective  ctrl+f8 
Text editor   Show ruler context menu  ctrl+w 
Global   Show View menu  CTRL+F10  
Global   Display system menu  alt+- 


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


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


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


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


Project
scope function Shortcut keys
Global All Build Ctrl+b


Source
scope function Shortcut keys
Java Editor Formatting ctrl+shift+f
Java Editor Uncomment ctrl+\
Java Editor Comment ctrl+/
Java Editor Add import ctrl+shift+m
Java Editor Organization import Ctrl+shift+o
The Java Editor uses try/catch blocks to surround the settings, which are too common, so it is recommended to set them up here.
You can also use ctrl+1 to automatically fix it.


Run
scope function Shortcut keys
Global single-Step return F7
Global single-Step skip F6
Global single-step jump into F5
Global single-Step jump selection Ctrl+f5
Global Debug Last started F11
Global Continue F8
Global use filters to step SHIFT+F5
Global Add/Remove breakpoints Ctrl+shift+b
Global Display Ctrl+d
Global Run last boot ctrl+f11
Global Run to row ctrl+r
Global Execution Ctrl+u


Refactoring
scope function Shortcut keys
Global Undo Refactoring Alt+shift+z
Global Extraction Method Alt+shift+m
Global decimation local variable alt+shift+l
Global inline Alt+shift+i
Global Mobile Alt+shift+v
Global Rename Alt+shift+r
Global Redo Alt+shift+y

Eclipse/myeclipse the most commonly used 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.