Eclipse shortcut keys

Source: Internet
Author: User
Ctrl + 1 quick fix (the most classic shortcut key, you don't need to talk about it) Ctrl + D: Delete the current row Ctrl + Alt + ← copy the current row to the next row (copy added) ctrl + Alt + ↓ copy the current row to the previous row (copy and add) Alt + ↑ the interaction position between the current row and the following row (especially practical, you can save cutting and pasting) alt + ↑ the interaction position between the current row and the previous row (same as above) Alt + ↑ the previous edited page Alt + → the next edited page (of course for the previous one) alt + Enter display the properties of the currently selected resource (project, or file) Shift + Enter insert a blank row in the next row of the current row (the mouse can be at any position in the current row, not necessarily the last line) Shift + Ctrl + Enter insert blank lines in the current line (principle is the same as above) ctrl + Q locate the last edit location Ctrl + L locate in a line (for more than 100 of the program, there will be a good news) ctrl + M maximize the current Edit or View (then press Ctrl +/) Ctrl +/comment on the current row, Press Ctrl + O to quickly display OutLineCtrl + T to quickly display the inheritance structure of the current class Ctrl + W to close the current EditerCtrl + K to quickly locate the Next Ctrl + E by referring to the selected Word display the drop-down list of the current Editer (if the current page is not displayed in) ctrl +/(keypad) collapse all code in the current class Ctrl + × (keypad) expand All the code in the current class Ctrl + Space Code assistant to insert some code (but it is generally in conflict with the input method, you can modify the Input key, or you can use Alt +/for the moment) ctrl + Shift + E display the manager that manages all Opened Views (you can choose to close or activate) Ctrl + J forward incremental search (press Ctrl + J, each letter editor you enter provides a quick match to locate a word. If not, it is not found in stutes line. It is particularly useful when you query a word, this Idea feature was available two years ago.) Ctrl + Shift + J Reverse incremental search (the same as the previous one, but only from the back to the front) ctrl + Shift + F4 close all open EditerCtrl + Shift + X change all selected text to lowercase Ctrl + Shift + Y change all selected text to lowercase Ctrl + Shift + F format the current Code Ctrl + Shift + P to locate the matching character (for example {}) (When positioning the back from the front, the cursor should be inside the match character, followed by the front, and vice versa) the shortcut keys below are commonly used in refactoring, I like it and often sort it out (Note: Generally, the shortcut keys for reconstruction start with Alt + Shift) Alt + Shift + R Rename (one of my favorite ones, in particular, the Rename of variables and classes can save a lot of effort than the manual method.) Alt + Shift + M extraction method (this is one of the most common methods in refactoring, it is especially useful for a lot of muddy code) Alt + Shift + C modify the function structure (more practical, there are N functions that call this method, modify it once) Alt + Shift + L extract local variables (some magic numbers and strings can be directly extracted into one variable, especially when multiple calls are performed) alt + Shift + F convert the local variable in the Class to the field variable (more practical function) Alt + Shift + I merge variable (maybe this is a bit inappropriate) alt + Shift + V mobile functions and variables (not commonly used) Alt + Shift + Z reconstruction regret (Undo) edit scope function shortcut key global search and replace Ctrl + F text editor find the previous Ctrl + Shift + K text editor find the Next Ctrl + K global undo Ctrl + Z global copy Ctrl + C global recovery select Alt + Shift + ← global cut Ctrl + X global quick correction Ctrl1 + 1 Global content assist Alt +/globally select Ctrl + A globally Delete global context information Alt +? Alt + Shift +? Ctrl + Shift + Space Java editor display tooltip description F2 Java editor select encapsulation element Alt + Shift + export Java editor select previous element Alt + Shift + export Java editor select next element Alt + shift + → text editor incremental search Ctrl + J text editor incremental reverse search Ctrl + Shift + J global paste Ctrl + V Global redo Ctrl + Y view scope function shortcut key global zoom Ctrl + = Global ctrl +-window scope shortcut key: Global activation editor F12 global switch editor Ctrl + Shift + W global editor Ctrl + Shift + F6 Global View Ctrl + Shift + F7 global 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 function shortcut key Java editor open structure Ctrl + F3 global open type Ctrl + Shift + T global Open Type hierarchies 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 + → A Global Ctrl +, ctrl +. java editor display outline Ctrl + O global open type Ctrl + Shift + H Global go matching brackets Ctrl + Shift + P global go to previous edit location Ctrl + Q Java Editor go to the previous Member Ctrl + Shift + ← Java editor and go to the next member Ctrl + Shift + ↓ Text Editor The shortcut key for the row Ctrl + L search scope function appears globally in the file Ctrl + Shift + U global Open Search dialog box Ctrl + H declaration in the global workspace Ctrl + G reference in the global workspace Ctrl + Shift + G text editing scope function shortcut key text editor rewrite switch Insert text editor roll row Ctrl + ← File Scope function shortcut key save global Ctrl + X Ctrl + S global print Ctrl + P global close Ctrl + F4 global save Ctrl + Shift + S global all close Ctrl + Shift + F4 global attribute Alt + Enter Global New Ctrl + N project scope function shortcut key global build Ctrl + B Source Code scope function shortcut key Java editor format Ctrl + Shift + F Java editor uncomment Ctrl +/Java Editor Note Ctrl +/Java editor add import Ctrl + Shift + M Java editor organize import Ctrl + Shift + O Java editor use try/catch Block to enclose unset, too common, so we recommend that you set it here. You can also use Ctrl + 1 for automatic correction. Run scope function shortcut key global one step return F7 Global One Step skip F6 Global One Step Jump F5 Global One Step Jump select Ctrl + F5 global debug last start F11 global continue F8 global use Filter Single Step execute Shift + F5 global Add/remove breakpoint Ctrl + Shift + B global display Ctrl + D global run last start Ctrl + F11 global run to row Ctrl + R global execute Ctrl + U reconstruction Scope function shortcut key global undo reconstruction Alt + Shift + Z global extraction method Alt + Shift + M global extraction local variable Alt + Shift + L global inline Alt + Shift + I Global Movement Alt + Shift + V Global rename Alt + Shift + R global redo Alt + Shift + Y
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.