Eclipse shortcut keys

Source: Internet
Author: User

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: General refactoring of the shortcut keys are alt+shift beginning of the)

Alt+shift+r rename (is my own favorite, especially the variables and classes of rename, than the manual method can save a lot of labor)

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, modified once done)

Alt+shift+l extract Local variables (you can directly extract some magical numbers and strings into a variable, especially when multiple calls are made)

Alt+shift+f change the local variable in class to a field variable (more useful function)

Alt+shift+i Merge variables (this may be a bit inappropriate inline)

ALT+SHIFT+V moving functions and variables (not commonly used)

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

 

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 Restore previous selection alt+shift+↓   Global clipping ctrl+x Global quick fix ctrl1+1 Global content assist alt+/global All selected CTRL + A global DELETE delete global context information ALT +?   Alt+shift+? Ctrl+shift+space Java Editor Display tooltip description F2 Java Editor Select encapsulate element Alt+shift+↑java Editor Select previous element Alt+shift+←java Editor Select Next element alt+sh   ift+→ Text Editor Incremental lookup ctrl+j Text Editor Incremental reverse lookup ctrl+shift+j Global Paste Ctrl + V global Redo ctrl+y  View scope function shortcut Global zoom ctrl+= Global Zoom Out ctrl+-  window scope function shortcut Global Activation Editor F12 Global Toggle Editor ctrl+shift+w Global One editor Ctrl+shift+f6 global view Ctrl+s Hift+f7 Global on a 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 Java Editor Open structure ctrl+f3 global open type ctrl+shift+t global open type hierarchy F4 Global open Declaration F3 Global Open External Javadoc shift+f2 Global Open Resource Ctrl+shift+r Global back History alt+← Global forward History alt+→ global on one CTRL +, global next   CTRL +. The Java Editor displays the outline Ctrl+o global Open the type in the hierarchy Ctrl+shift+h global go to matching parentheses ctrl+shift+p global go to previous edit position ctrl+q Java Editor go to previous member Ctrl+shift+↑java editor go to next member   ctrl+shift+↓ text editor go to line ctrl+l  Search scope feature shortcut global appears in file Ctrl+shift+u Global Open Search dialog ctrl+h Global Workspace declaration ctrl+g References in the global workspace ctrl+shift+g text editing scopes feature shortcut text Editor overwrite toggle Insert Text Editor Roll line ctrl+↑ Text Editor roll line ctrl+↓  file scope feature Shortcut keys Global Save ctrl+x ctrl+s Global print ctrl+p global shutdown CTRL+F4 Global all save Ctrl+shift+s Global close CTRL+SHIFT+F4 Global Properties Alt+ent ER Global New ctrl+n  Project scope feature shortcut global all build ctrl+b  source code scope function shortcut key Java Editor format ctrl+shift+f Java editor fetch Comment ctrl+\ Java editor Comment ctrl+/Java Editor add import ctrl+shift+m Java Editor Organization import ctrl+shift+o Java Editor use Try/catch block to surround not set, too common,   So listed here, it is recommended to set yourself. You can also use ctrl+1 to automatically fix it.   Run scope function shortcut Global Single Step back F7 Global single-step skip F6 Global single-Step jump F5 Global single-Step jump selection Ctrl+f5 Global Debug last started F11 global continue F8 global use filter order Step execution 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 key 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 Move Alt+shi Ft+v

Global Rename Alt+shift+r

Global Redo Alt+shift+y

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.