Eclipse-Shortcut keys

Source: Internet
Author: User

Ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say) Ctrl+d: Delete the current row ctrl+alt+↓ copy the current row to the next row (copy increase) ctrl+alt+↑ Copy the current row to the previous row (copy increase) alt+↓ the current line and the following line of interaction (particularly practical , you can save the first cut, then paste it) alt+↑ the current line and the previous row interaction position (IBID.) alt+← the previous edited page alt+→ the next edited page (of course, for the above) Alt+enter display the currently selected resource (project, or file or file) The Shift+enter property 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 inserts a blank line in the current row (principle above) ctrl+q navigates to the last edited place ctrl+l positioned in a row ( The Gospel is for people with programs over 100 ctrl+m maximize current Edit or view (and vice versa) ctrl+/comment on the current line, then uncomment ctrl+o quick display outlinectrl+t quickly display the inheritance structure of the current class Ctrl+w Close the current Editerctrl+k reference selected word quickly navigates to the next ctrl+e quick display of the current Editer drop-down list (if the current page is not displayed in bold) ctrl+/(keypad) collapses all code in the current class ctrl+x (keypad) Expands all code in the current class Ctrl+space code helper to complete some code insertion (but general and input method conflict, you can modify the input method hotkey, you can also take up alt+/to replace) ctrl+shift+e display management of all the currently open View Manager (you can choose to close , activate, etc.) 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, it is especially useful to look up a word, this function idea was there two years ago) CTRL+SHIFT+J Reverse Incremental lookup (the same as the previous bar, except that it is checked from the back) Ctrl+shift+f4 close all open editerctrl+shift+x the currently selected text is all stale in lowercase ctrl+shift+y Change the currently selected text to lowercase ctrl+shift+f formatting the current code ctrl+shift+p to the matching character (for example {}) (from the front, the cursor is in the match, back to the front, or vice versa) the following shortcut keys are commonly used in refactoring, thisPeople 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 (is my favorite one, especially variables and classes of rename, than the manual method can save a lot of labor) alt+shift+m The extraction method (which is one of the most common methods of refactoring, especially useful for a lot of mud code) 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 ( You can simply extract some magic 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 (a more useful function) Alt+shift+i merge variables (which might be a bit inappropriate for inline).  ALT+SHIFT+V moving functions and variables (not commonly used) Alt+shift+z refactoring of Regret pills (Undo) Editing scopes feature 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 ctrl+x Global quick fix ctrl1+1 Global content assist alt+/Global all check CTRL + A global delete delete full Office contextual 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+shift+→ 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 Narrowing ctrl+-window scope function shortcut keys Global activation Editor F12 Global Toggle Editor Ctrl+shift+w Global on one editor Ctrl+shift+f6 global View Ctrl+shift+f7 Global previous perspective Ctrl+shift+f8 global Next editor Ctrl+f 6 Global Next View Ctrl+f7 Global Next perspective ctrl+f8 text Editor Show ruler context Menu Ctrl+w Global View menu CTRL+F10 Global Display system menu alt+-navigation scope feature Shortcut Java Editor Open structure ctrl+f3 global open type ctrl+shift+t global open type hierarchy F 4 Global Open Claims F3 Global Open external Javadoc shift+f2 Global Open Resource Ctrl+shift+r Global back History alt+← Global forward History alt+→ global One CTRL +, global next Ctrl +. The Java Editor displays outline Ctrl+o Global in the hierarchy open type Ctrl+shift+h global go to matching parentheses ctrl+shift+p global go to previous edit location Ctrl+q Java Editor go to previous member Ctrl+shift+↑ja VA editor go to next member ctrl+shift+↓ text editor go to line ctrl+l Search scope feature shortcut global appear in file ctrl+shift+u Global Open Search dialog ctrl+h Global Workspace Declaration ctrl+g Global work References in ctrl+shift+g text editing scopes feature shortcut text Editor overwrite toggle Insert Text Editor Roll line ctrl+↑ text Editor scroll line ctrl+↓ file scope function shortcut Global save Ctrl+x ctrl+s full Office print ctrl+p Global off CTRL+F4 Global all save Ctrl+shift+s Global off CTRL+SHIFT+F4 Global Properties Alt+enter Global New CTRL + N project scope feature shortcut key global all build Ct Rl+b Source code scope function shortcut key Java Editor format ctrl+shift+f Java editor Uncomment ctrl+\ Java editor Comment ctrl+/Java Editor add import ctrl+shift+m Java Editor Organization import The Ctrl+shift+o 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 Global step back F7 Global single-step skip F6 Global single-Step F5 global Single-step jump Select Ctrl+f5 Global Debug LastStart F11 Global Continue F8 Global use filter Stepping SHIFT+F5 Global Add/Remove Breakpoints Ctrl+shift+b Global display Ctrl+d global run last start 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 Pull local variable alt+shift+l global inline alt+shift+i Global move alt+shift+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.