Create a project:CTRL + nBasically all the software is common.
Quick save:CTRL + S
This is also common
Close the file:CTRL + WAlso common
Comments and uncomments are:CTRL +/Select multiple lines for multi-line comments. Just move the cursor to the line for single-line comments.
Generate a plate commentAlt + Shift + J
, Comment on a single row As ctrl +/
Organization import:CTRL + Shift + O
Quickly import required classes and clear unnecessary classes (that is, automatically help us fill in the top import of the Program)
Delete the entire row:CTRL + dDelete the row where the cursor is located
Locate the Last edited row:CTRL + q
Locate the specified row:CTRL + L logcatUse this method to locate the row that will prompt an error.
File rename:Alt + Shift + R
By default, eclipse cannot be renamed by clicking the left button twice. You need to right-click the menu
Code alignment:CTRL + Shift + FThe Code alignment of the entire file is also applicable to the Aptana Editor, which supports HTML, JavaScript, and so on.
Automatic indent:CTRL + IThe selected code is automatically indented, which is different from the code alignment. This will not automatically wrap the line after the semicolon. Aptana is not applicable.
Quick Code SearchCTRL + F, Undo to the last Ctrl + z
Smart content awarenessAlt +/
, This shortcut can easily match the class information we use,/on the keyboard and? Is the same button.
You can call the run as dialog box to useCTRL + F11For debug debugging, you can use F11 directly.