Friday, September 3, 2010

Java Editor shortcuts

Ctrl 1 Quick Fix (the most classic shortcut keys, it goes without saying that a) 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 line (copy increase) Alt ↓ below the current line and line interactive location (particularly useful, can save the first cut, then paste) Alt ↑ current line and on ...

Ctrl 1 Quick Fix (the most classic shortcuts need add nothing)
Ctrl D: delete the current row

Ctrl Alt ↓ copy the current line to the next line (copy increase)


Ctrl Alt ↑ copy the current line to the line (copy increase)

Alt ↓ below the current line and line interactive position (especially useful, can save the first cut, then paste)

Alt ↑ above the current line and line interactive position (ibid.)

Alt ← previous page editor

Alt → next page editor (of course, is for the one above)

Alt Enter to display the current selection of resources (projects, or documents or files) of the property

Shift Enter in the current row of the next line insert blank lines (in which case the mouse can be either the current row position is not necessarily final)

Shift Ctrl Enter inserts blank lines in the current line (ibid. Principles Article)

Ctrl Q to the final edit of the local orientation

Ctrl L positioned on a line (the program more than 100 people have Gospel)

Ctrl M to maximize the current Edit or View (click the contrary)

Ctrl / Note the current line, then cancel Notes

Ctrl O quickly display OutLine

Ctrl T quickly display the current class inheritance structure

Ctrl W Close the current Editer

Ctrl K refer to the selected Word quickly navigate to the next

Ctrl E quickly shows the current Editer the drop-down list (if the current page is not displayed in bold)

Ctrl / (keypad) folding all the code in the current class

Ctrl × (small keyboard) to start all the code in the current class

Ctrl Space code assist to complete the insertion of some code (but in general, and input methods in conflict, can modify the input method of the hot keys, you can temporarily use the Alt / instead)

Ctrl Shift E indicates that all currently open View of the manager (you can choose to close, activate and other operations)

Ctrl J Incremental search forward (by pressing Ctrl J, you have entered each of the letters editor, offer to quickly locate a word match, if not, appear in the stutes line not found, the search a word , in particular, practical, this function will have a two years ago, Idea)

Ctrl Shift J reverse incremental search (and on the same articles, just check back to front)

Ctrl Shift F4 to close all open Editer

Ctrl Shift X to the currently selected text all lowercase sour

Ctrl Shift Y to all of the currently selected text into lower case

Ctrl Shift F to format the current code

Ctrl Shift P Position to match the symbol (such as ()) (back from the front when positioning the cursor symbol to match the inside, back to the front, then the reverse)

The following shortcut keys are commonly used refactoring which I like and commonly used on its own sort (Note: The general reconstruction of the shortcut keys are Alt Shift at the beginning of the)

Alt Shift R to rename (I used one of their favorites, especially the variables and classes Rename, than the manual method can save a lot of labor)

Alt Shift M extraction method (which is reconstructed inside one of the most common method, and particularly useful for a lot of clay in the code)

Alt Shift C modify the function of the structure (more practical, with N a function call to this method, modify a one-stop)

Alt Shift L extract local variable (can put some magic numbers and strings into a variable extraction, especially when multiple calls)

Alt Shift F to Class in the local variable into a field variable (more useful features)

Alt Shift I combined variables (which may say something wrong with that Inline)

Alt Shift V mobile functions and variables (not very common)

Alt Shift Z reconstruction regret it later (Undo)

Edit

Scope function keys

Global Find and Replace Ctrl F

Find a text editor Ctrl Shift K

Text Editor Find Next Ctrl K

Global withdrawal Ctrl Z

Global Copy Ctrl C

The global recovery on a select Alt Shift ↓

Global Cut Ctrl X

Global Rapid correction Ctrl1 1

Global Content auxiliary Alt /

Global Select all Ctrl A

Global Delete Delete

Global Context Information Alt?

Alt Shift?

Ctrl Shift Space

Java editor displays a tooltip description of F2

Java editor, select the package element Alt Shift ↑

Java editor, select an element on the Alt Shift ←

Java editor, select the next element Alt Shift →

Incremental find a text editor Ctrl J

Incremental reverse search a text editor Ctrl Shift J

Global Paste Ctrl V

Global redo Ctrl Y

View

Scope function keys

Global amplification Ctrl =

Global reduce Ctrl -

No comments:

Post a Comment