Eclipse shortcut for Android Development

Source: Internet
Author: User

MARK:

 

CTRL + 1 quick fix (the most classic shortcut, 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 added)
Alt + ↓ interaction position between the current row and the following row (especially practical, you can save cutting and pasting)
Alt + ↑ interaction between the current row and the previous row (same as above)
Alt + ↓ previous edited page
Alt + → next edited page (of course for the above)
Alt + enter display the properties of the currently selected resource (project, or file)
Shift + enter insert empty rows in the next row of the current row (the mouse can be at any position of the current row, not necessarily the last row)
Shift + Ctrl + enter insert blank lines in the current line (same principle)
CTRL + q locate the Last edited location
CTRL + l locate in a line (ProgramMore than 100 of people have the Gospel)
CTRL + M maximize the current edit or view (then press it, and vice versa)
CTRL +/comment out the current row, and then press it to cancel the comment
CTRL + O quick outline display
CTRL + T quickly display the inheritance structure of the current class
CTRL + W disable the current editer
CTRL + k quickly locate to the next one by referencing the selected word
CTRL + E: Click it to quickly display the drop-down list of the current editer (if the current page is not displayed, it is displayed in bold)
CTRL +/(keypad) collapse all in the current classCode
CTRL + × (keypad) show all the code in the current class
CTRL + Space Code assistant inserts some code (but it is usually in conflict with the input method. You can modify the key of the input method or replace it with ALT +/for the moment)
CTRL + Shift + e display the managers that manage all Opened Views (you can choose to close or activate them)
CTRL + J forward incremental search (after pressing 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 querying a word. This function 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 editer
CTRL + 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 locate the matched character (for example, {}) (when positioning from the front, the cursor must be inside the matched character, followed by the front, and vice versa)

The following shortcut keys are commonly used in refactoring. I like them and usually organize them. (Note: Generally, the shortcut keys for refactoring start with ALT + shift)
Alt + Shift + R Rename (my favorite one, especially the rename of variables and classes,
Alt + Shift + M extraction (this is one of the most common methods in refactoring, especially useful for a lot of muddy code)
Alt + Shift + C modify the function structure (more practical, N functions have called this method,
Alt + Shift + L extract local variables (you can directly extract some magic numbers and strings into one variable,
Alt + Shift + F: Change the local variable in the class to the field variable (more practical)
Alt + Shift + I merge variables (this may be a bit inappropriate for inline)
Alt + Shift + V moving functions and variables (not commonly used)
undo (Alt + Shift + z reconstruction)

edit
scope shortcut key
globally search and replace Ctrl + F
Search for the previous Ctrl + Shift + K in the Text Editor
Search For The Next Ctrl + K in the Text Editor
globally undo Ctrl + z
globally copy Ctrl + C
globally recover the previous alt + Shift + shift
globally cut Ctrl + x
global Fast Correction ctrl1 + 1
global content-assisted Alt +/
Ctrl + A
Delete de globally Lete
global context information Alt +?
Alt + Shift +?
Ctrl + Shift + space
display tooltip F2 in the Java Editor
the Java editor selects the encapsulated element Alt + Shift + ↓
the Java editor selects the previous element Alt + Shift + ↓
select the next element Alt + Shift + →
text editor incremental search Ctrl + j
text Editor incremental reverse query Ctrl + Shift + j
globally paste Ctrl + v
global redo Ctrl + Y

View
Shortcut for scope Function
Zoom in globally Ctrl + =
CTRL +-

Window
Shortcut for scope Function
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
The next global editor Ctrl + F6
Next Global View Ctrl + F7
CTRL + F8
Text Editor display ruler context menu Ctrl + W
Global View menu Ctrl + F10
Global display of System Menu Alt +-

navigation
shortcut for scope
open the Java editor with the structure Ctrl + F3
global open type ctrl + Shift + T
global open type hierarchy F4
globally open declaration F3
globally open external javadoc SHIFT + F2
globally open resource Ctrl + Shift + R
global rollback history Alt + ↓
global forward history Alt + →
the global Ctrl +,
the next Global Ctrl +.
JAVA editor display outline Ctrl + O
enable type ctrl + Shift + H globally in the hierarchy
go globally to the matching parentheses Ctrl + Shift + P
go globally to the previous editing location Ctrl + q
go to the previous Member Ctrl + Shift + cursor
go to the next member Ctrl + Shift + cursor in the Java Editor
move the text editor to the CTRL + L line

Search
Shortcut for scope Function
Globally displayed in the file Ctrl + Shift + u
Global Search dialog box Ctrl + H
Declare Ctrl + G in the global Workspace
Reference Ctrl + Shift + G in the global Workspace

Text editing
Shortcut for scope Function
Text Editor rewrite switch insert
CTRL + ← on the text editor
CTRL + ←

File
Shortcut for scope Function
Save Ctrl + x globally
CTRL + S
Print Ctrl + P globally
Globally Disable Ctrl + F4
Globally save Ctrl + Shift + S
Globally Disable Ctrl + Shift + F4
Global attribute Alt + enter
Globally create Ctrl + n

Project
Shortcut for scope Function
Global build Ctrl + B

Source code
Shortcut for scope Function
Java editor format Ctrl + Shift + F
Java editor uncomment Ctrl + \
Java editor comment Ctrl +/
Add and import Ctrl + Shift + M to the Java Editor
Java editor organization import Ctrl + Shift + O
The Java editor uses try/catch blocks to enclose unset ones, which is too common. Therefore, we recommend that you set them here.
You can also use Ctrl + 1 for automatic correction.

Run
Shortcut for scope Function
F7 is returned in one global step.
Skip F6 in one global step
Global One-Step Jump to F5
Global One-Step Jump-in and select Ctrl + F5
Global debugging last started F11
Continue F8 globally
Shift + F5 in one step using filters globally
Globally Add/remove breakpoints Ctrl + Shift + B
Global display Ctrl + d
Global run last started Ctrl + F11
Run Ctrl + R globally
Execute Ctrl + u globally

refactoring
shortcut for the scope function
globally undo refactoring, ALT + Shift + z
global extraction method Alt + Shift + M
global extraction of local variables Alt + Shift + L
global inline Alt + Shift + I
Global Movement Alt + Shift + v
global rename Alt + Shift + r
global redo Alt + Shift + Y

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.