Ctrl+1 Quick repair (the most classic shortcut, need not say more)Ctrl+D: Delete the current line Ctrl+Alt+↓ Copy the current line to the next line (copy to increase)Ctrl+Alt+↑ Copy the current line to the previous line (copy to increase)Alt+↓ Current……

Ctrl+1 quick repair (the most classic shortcut, need not say more) Ctrl+Alt+↓ copy the current line to the next line (copy to increase) Ctrl+Alt+↑ Copy the current line to the previous line (copy to increase) Alt+↓ The current line and the next line of interaction (especially useful, can not cut, paste) Alt+Enter Displays the properties of the currently selected resource (project,or file,or file). Shift+Enter inserts a blank line on the next line of the current line (the mouse can be anywhere on the current line, not necessarily the last). Shift+Ctrl+Enter Inserts a blank line on the current line (same principle as above) Ctrl+L position on a line (good news for programs over 100) Ctrl+M maximizes the current Edit or View (press again and vice versa) Ctrl+E Quick display of the current Editer drop-down list (boldface if the current page is not displayed) Ctrl+Space Code assistant to complete some code insertion (but usually with the input method of the hotkey, can also temporarily use Alt+/ instead) Ctrl+Shift+E Ctrl+J forward incremental lookup (After pressing Ctrl+J, each letter editor you type provides a quick match to locate a word, if not, in the stutes Ctrl+Shift+J Reverse incremental search Ctrl+Shift+F4 Close all open Editer Ctrl+Shift+X Change the selected text to lower case Ctrl+Shift+Y Change the selected text to lower case Ctrl+Shift+P position the selected text to the appropriate card (e.g. {})Copy the code
Copy the code

The following shortcut keys are common in refactoring. I like them and use them frequently.

Alt+Shift+R Rename (my favorite, especially for variables and classes, which are much less labor intensive than manual methods) Alt+Shift+M extract (this is one of the most common methods used in refactoring, especially for large chunks of muddy code) Alt+Shift+C Alt+Shift+L Extract local variables (you can extract magic numbers and strings into a variable, especially when multiple calls are made) Alt+Shift+F Alt+Shift+I: Inline Alt+Shift+V: Inline Alt+Shift+V: Inline Alt+Shift+V: InlineCopy the code

The editor

Java editor selects encapsulated element Alt+Shift+↑ Java editor selects previous element Alt+Shift+← Java editor selects next element Alt+Shift+→ Text editor Increment Reverse lookup Ctrl+Shift+JCopy the code

To view

Copy the code

window

Copy the code

navigation

Ctrl+Shift+H Java editor go to the next member Ctrl+Shift+↑ Java editor go to the next member Ctrl+Shift+↓Copy the code

search

Copy the code

Text editing

Copy the code

file

Copy the code

project

Copy the code

The source code

The Java editor uses a try/catch block to surround unset, which is too common, so it is listed here and recommended to set yourself.Copy the code

run

Copy the code

refactoring

Copy the code