Eclipse shortcut Keys Daquan

Source: Internet
Author: User

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

Ctrl+d: Delete current row ctrl+alt+↓ copy current row to next row (copy 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 previous row interaction position (IBID.) alt+← 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 Quick display of the inheritance structure of the current class

Ctrl+w Close the current Editer ctrl+k refer to the selected word to quickly navigate 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 organize

(Note: The shortcut keys for general refactoring are all beginning with alt+shift)

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)

Edit scope feature shortcut global find and replace ctrl+f text editor

Find the 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 Assistance

alt+/All selected globally

CTRL + A Global

Remove 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 Find 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.