end+Shift+home select a line
Ctrl+1 Quick fix (the most classic shortcut, needless to say)Ctrl+D: Delete the current line
Ctrl+Alt+↓ Copy the current line to the next line (copy increase)
Ctrl+Alt+↑ Copy the current line to the previous line ( Copy and increase)
Alt+↓ The interaction position between the current line and the next line (especially practical, you can save the first cut and paste)
Alt+↑ The current line and the upper line interactive position (same as above)
Alt+← Previous edited page
Alt+→ Next The edited page (of course for the above one)
Alt+Enter Display the properties of the currently selected resource (project, or file or file)
Shift+Enter Insert a blank line in the next line of the current line (the mouse can Any position of the line, not necessarily the last)
Shift+Ctrl+Enter inserts a blank line in the current line (the principle is the same as the above)
Ctrl+Q locates the last edit place
Ctrl+L locates in a certain line (for people with more than 100 programs) There is good news)
Ctrl+M maximizes the current Edit or View (press again and vice versa)
Ctrl+/ Comments the current line, presses again to uncomment
Ctrl+O quick display
OutLine
Ctrl+T Quickly display the inheritance structure of the current classCtrl+W Close the current Editor
Ctrl+K Refer to the selected Word to quickly navigate to the next
Ctrl+E Quickly display the drop-down list of the current Editor (if the current page is not displayed in bold)
Ctrl+ /(Keyboard) Collapse all the codes in the current class
Ctrl+×(Keyboard) Expand all the codes in the current class
Ctrl+Space The code assistant completes the insertion of some codes (but generally it conflicts with the input method, you can modify the heat of the input method key, you can also temporarily use Alt+/ instead)
Ctrl+Shift+E Display the manager that manages all currently opened Views (can choose to close, activate, etc.)
Ctrl+J Forward incremental search (press Ctrl+J After that, each letter editor you enter provides quick matching to locate a certain word. If not, it will be displayed in the stutes line that it is not found. When looking up a word, it is especially useful. Idea has this function two years ago.
Ctrl+Shift+J Reverse incremental search (same as the previous one, but from back to front) Ctrl
+Shift+F4 Close all open editors
Ctrl+Shift+X Change all the currently selected text to uppercase
Ctrl+Shift+Y Change all the currently selected text to lowercase
Ctrl+Shift+F Format the current code
Ctrl+Shift+P Position to the matching character (such as {}) (when positioning from the front to the back, the cursor should be in the matching inside the symbol, from the back to the front, and vice versa)
The following shortcut keys are commonly used in refactoring, and I like to sort out the ones I like and commonly use (note: the shortcut keys for general refactoring all start with Alt+Shift)
Alt+Shift+R Rename (my own favorite The one I like to use, especially the Rename of variables and classes, can save a lot of labor than manual methods)
Alt+Shift+M Find the required package
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 (you can directly extract some magic numbers and strings into a variable, especially when multiple calls)
Alt+Shift+F Change the local variable in the Class to the field variable (a more practical function)
Alt+Shift+I merge variables (may be a bit inappropriate to say Inline)
Alt+Shift+V Move functions and variables (not very common)Alt+Shift+Z Refactoring regret medicine (Undo)
edit
Scope function shortcuts
Global Find and Replace Ctrl+F
Text Editor Find Previous Ctrl+Shift+K
Text Editor Find Next Ctrl+K
Global Undo Ctrl+Z
Global copy Ctrl+C
Globally restore the previous selection Alt+Shift+↓
Global Cut Ctrl+X
Global quick fix Ctrl1+1
Global Content Assist Alt+/
Select all globally Ctrl+A
Delete Delete globally
Global context information Alt+?
Alt+Shift+?
Ctrl+Shift+Space
Java editor showing tooltip description F2
Java editor select package element Alt+Shift+↑
Java editor to select the previous element Alt+Shift+←
Java editor to select next element Alt+Shift+→
Text Editor Incremental Find Ctrl+J
Text editor incremental reverse lookup Ctrl+Shift+J
Paste Globally Ctrl+V
Global Redo Ctrl+YView
Scope Function Shortcut
Global Enlarge Ctrl+=
Global Zoom Ctrl+ -Window Scope
Function Shortcut Global Activation Editor F12 Global Switch Editor Ctrl+Shift+W Global Previous Editor Ctrl+Shift+F6 Global Previous 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 Show Ruler Context Menu Ctrl +W Display view menu globally Ctrl+F10 Display system menu globally Alt+- Navigation
Scope function shortcuts
Java Editor Open Structure Ctrl+F3Open Type Globally Ctrl+Shift+T
Open Type Hierarchy
Globally F4 Open Declaration
Globally F3 Open External javadoc Globally Shift+F2
Open Resource Globally Ctrl+Shift+R
Backward History Globally Alt+←
Forward History Globally Record Alt+→
Global Previous Ctrl+,
Global Next Ctrl+.
Java Editor Show Outline Ctrl+O
Global Open in Hierarchy Type Ctrl+Shift+H
Global Go To Matching Bracket Ctrl+Shift+P
Global Go To Previous Edit Position Ctrl+Q
Java editor to go to previous member Ctrl+Shift+↑
Java editor to go to next member Ctrl+Shift+↓
Text editor to go to line Ctrl+L
search
Scope Function ShortcutsGlobally Appear in File Ctrl+Shift+U
Globally Open Search Dialog Ctrl+H
Declaration in Global Workspace Ctrl+G
Reference in Global Workspace Ctrl+Shift+G
Text Editor
Scope function shortcut keytext editor rewrite toggle Insert
text editor scroll up Ctrl+↑
text editor scroll down Ctrl+↓
document
Scope function shortcutsSave Globally Ctrl+X
Ctrl+SPrint Globally Ctrl+P Close
Globally Ctrl+F4 Save All Globally Ctrl+Shift+S Close All Globally Ctrl+Shift+F4 Global Properties Alt+Enter Global New Ctrl+N Project Scope Function Shortcuts Build All Globally Ctrl+ B
source code
Scope function shortcuts
Java editor formatting Ctrl+Shift+F
Java editor uncomment Ctrl+\
Java editor comment Ctrl+/
Java editor add import Ctrl+Shift+M
Java Editor Organize Import Ctrl+Shift+O
The Java editor uses a try/catch block to surround the unset, which is too common, so it is listed here, and it is recommended to set it yourself.It can also be corrected automatically using Ctrl+1.
run
Scope Function ShortcutsGlobal Single Step Return F7
Global Single Step Skip F6
Global Step Into F5
Global Step Into Select Ctrl+F5
Global Debug Last Start F11
Global Continue F8
Global Use Filter Step Shift+F5
Globally add/remove breakpoints Ctrl+Shift+B
Global display Ctrl+D
Global run last start Ctrl+F11
Global run to line Ctrl+R
Global execution Ctrl+U
refactor
Scope Function ShortcutsGlobal Undo Refactoring Alt+Shift+Z
Global Extraction Method Alt+Shift+M
Global Extraction Local Variables Alt+Shift+L
Global Inline Alt+Shift+I
Global Move Alt+Shift+V
Global Rename Alt +Shift+R