Simple setting of Android Studio
Recently I changed my laptop and win10 system! When setting up the development environment, we will summarize some simple settings of AS for your convenience.
1.Set that the project is not automatically opened at startup.
File | Settings | Appearance & Behavior | System Settings -----> cancel Reopen last project on startup
2.Prompt document comment when setting cursor hover
File | Settings | Editor | General ------> check Show quick doc on mouse Delay...
3.Set the subject font
File | Settings | Appearance & Behavior | Appearance -----> UI Options
4.The prompt for modifying the code conflicts with the system input method.
Right-click Keymap Code Completion Basic ---->
Add Keyboard Shortcut cut: Set Keyboard shortcuts
Add Mouse Shortcut cut: Set the Shortcut key, such as the left Mouse button and right Mouse button
Add Abbreviation
The last one is to remove the shortcut key.
5.Set automatic code prompt
File | Settings | Editor | General | Code Completion
All: The entered characters are fully matched, and All matching characters are displayed in the prompt list.
None: Perform fuzzy match.
First Letter: Match Based on the First Letter.
6.Modify Encoding
File | Settings | Editor | File Encodings ----> change all to UTF-8 and select
7.Show row number
File | Settings | Editor | File Encodings -----> check Show line numbers.
8.Check for updates
File | Settings | Appearance & Behavior | System Settings | Updates --- Select whether to check for Automatic Updates
Stable Channel: the official version Channel. Only the latest official version is available.
Beta Channel: Test Channel. Only the latest test version is available.
Dev Channel: The development and release Channel. Only the latest development version is obtained.
Canary Channel: Specifies the preview publish Channel. Only the latest preview version is obtained.
Among the four channels, the Stable Channel is the most Stable and has fewer problems. Canary Channel can obtain the latest version, which has many problems.
9.Set automatic import class library
File | Settings | Editor | General | Auto Import -----> select Add unambiguous improts on the fly.
10.Plugin installation
File | Settings | Plugins -----> Browse repositories... Search plug-in Installation
11.Simple common shortcut keys
Ctrl + Alt + L format the code
Ctrl + X Delete the current row
Ctrl + Alt + O import and update packages
Ctrl + D combines the copy and paste operations. If a selected part is selected, copy the selected part and paste it after it. If no selected part is selected, copy and paste the row where the cursor is located.
Alt + press enter to import the package, automatically corrected
Ctrl + E: displays the list of recently edited files.
Ctrl + Shift + Backspace can jump to the Last edited place
Ctrl + P method parameter prompt
Ctrl + shift + up arrow move the selected code up
Ctrl + shift + downward arrow move the selected code down
Ctrl + Alt + ↓ code rewind
Ctrl + O implement the parent class Method