Eclipse shortcut Keys Daquan

Source: Internet
Author: User

Eclipse shortcut key Daquan (reprint) 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 (replication incremented) alt+↓ The current line and the next line of interaction (especially useful, can be omitted first cut, then pasted) alt+↑ the current row and the previous row interaction position (IBID.) alt+← the previous edited page alt+→ the next edited page (of course, for the above) Alt+enter displays the current selection resource ( The property of a 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 a blank line in the current row (principle above) ctrl+q to the last edit location Ctrl+l positioned in a row (for people with programs over 100) Ctrl+m maximize the current edit or view (and then vice versa) ctrl+/comment on the current line, then uncomment ctrl+o quick display OutLine ctrl+t quickly display the inheritance knot for the current class Ctrl+w Close the current editer ctrl+k the selected word quickly navigates to the next ctrl+e quickly displays the current Editer drop-down list (if the current page does not appear in bold) ctrl+/(Numpad) collapses all code in the current class ctrl+x ( keypad) expands all the 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 manages all the currently open view of the manager ( 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, the display in Stutes line is not found, check a word, especially useful, This function idea was there two years ago. Ctrl+shift+j Reverse incremental lookup (same as above, except forward) Ctrl+shift+f4 close all open editer ctrl+shift+x make the currently selected text all stale lowercase Ctrl + Shift+y the currently selected text to lowercase ctrl+shift+f formatting the current code ctrl+shift+p locate the match for (for example, {})(The cursor will be in the match, back to the front, or vice versa) when you position the back from the front.

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 (is my own favorite use of one, especially variables and classes of rename, Save a lot of labor than a manual method) the Alt+shift+m extraction method (which is one of the most commonly used methods in 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 magic numbers and strings into a variable, especially when multiple calls) alt+shift+f the local variable in class into a field variable (more useful function) alt+shift+i merge variable ( Maybe that's a little inappropriate. inline) alt+shift+v move functions and variables (not commonly used) alt+shift+z reconstruction of Regret medicine (Undo)

Edit scope feature shortcut 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+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 Shortcuts Global Zoom ctrl+= Global Zoom Out ctrl+-

Window scope function Shortcut 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+f6 Global next View Ctrl+f7 Global Next Perspective ctrl+f8 Text Editor display ruler context menu Ctrl+w Global Display View menu CTRL+F10 Global Display System menu alt+-

Navigation scope features shortcut key 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+shi Ft+r Global fallback History alt+← global forward history alt+→ globally on a 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

The search scopes feature shortcut keys appear globally in the file Ctrl+shift+u Global Open Search dialog box ctrl+h Global Workspace declarations ctrl+g references in the global workspace Ctrl+shift+g

Text editing scope feature shortcut key text Editor overwrite toggle Insert Text Editor Roll line ctrl+↑ text Editor scroll line ctrl+↓

File scope function shortcut key 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+enter Global New CTRL + N

Project scope feature shortcut key global all build Ctrl+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 organize import Ctrl + The 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 bypass F6 Global single-Step jump F5 Global single-step-forward selection CTRL+F5 Global debug last started F11 global continue F8 Global use filter Stepping SHIFT+F5 Global Add/Remove breakpoint C TRL+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 Daquan

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.