Common settings and shortcut keys in Android Studio (private collections, which are required for conversion from Eclipse to)
Common settings: 1. Tab does not need four spaces
Code Style-> Java-> Tabs and Indents-> Use tab character
Code Style-> General-> Use tab character (for example, press Tab on the Diff page of Version Control)
2. Visualized Tab and Space
Settings-> IDE Settings-> Editor-> Appearance-> Show whitespaces
3. display the number of lines of code
Settings-> IDE Settings-> Editor-> Appearance-> Show line numbers
4. Modify the font size of the Code
Settings-> IDE Settings-> Editor-> Colors & Fonts-> Font-> Save As-> change a name before changing the Font size
5. Hover the mouse over the display doc
Settings-> IDE Settings-> Editor-> Show quick doc on mouse move
6. the tabs and spaces of empty rows are automatically killed.
Settings-> IDE Settings-> Editor-> Other-> Strip trailing spaces on Save-> None
Common shortcut keys:
First change to the Eclipse shortcut key (and most of the shortcut keys will be consistent with Eclipse)
Settings-> IDE Settings-> Keymap-> Keymaps select Eclipse
1. Quickly jump out of brackets like Eclipse
Keymap-> Editor Actions-> Complete Current Statement: the default value is Ctrl + Shift + Enter; Shift + Enter. No matter where the cursor is, open a new line.
2. Code prompt list (Content Assist, Alt +/in Eclipse /)
Keymap-> Main Menu-> Code-> Completion-> Basic: The default value is Ctrl + Space.
3. Error Correction prompt list (Quick Fix, Ctrl + 1 in Eclipse)
Keymap-> Other-> Show Intention Action: The default value is Alt + Enter.
4. Fast Overried Method
Keymap-> Main menu-> Code-> Override Methods: You must set it by yourself.
5. outline in Eclipse
Keymap-> Main Menu-> Navigate-> File Structure: the default value is Ctrl + F3.
6. Next and Prev of Diff in Version Control
Keymap-> Other-> Move to the next difference: the default value is Ctrl + f7.
Keymap-> Other-> Move to the previous difference: Shift + f7 by default