Interface settings
The default Android Studio is the gray interface, and you can choose to use the cool black interface.
Settings---appearance-Theme, select the Darcula theme.
Font settings system font settings
If you have a problem with the Chinese display in the Android studio interface, or if you choose to have a problem with the Chinese catalog, or if you want to modify the font of the menu bar, you can set this.
Settings-appearance, tick Override default fonts by (not recommended) and select a font that supports Chinese. I am using Microsoft Jas Black, the effect is good.
Programming font settings
This section modifies the font of the editor, including all the fonts displayed by the file.
Settings-Colors & Fonts--and Font. The default system shows the Scheme as Defualt, you cannot edit it, you need to click on the right side of the Save as ... , save a copy of your settings and set them in. You can then set the font in the Editor font.
Show only monospaced fonts indicates that only the equal-width font is displayed, generally speaking, programming and other wide font use more, and the effect is better.
You can also set the color of the font in Settings-to-Editor--Colors & Fonts, and you can choose settings based on the objects you want to set up, and you can also download the font color settings package import from the network.
Code format settings
If you want to set the style that is displayed when your code is formatted, you can set this up.
Settings---Code Style. Similarly, Scheme in the default configuration, you cannot modify, you need to create a copy of their own configuration.
Default file Encoding
Whether you are developing your own personal development or team development in a project group, you need to unify your file encoding. For character compatibility issues, we recommend that you use Utf-8. China's Windows computer, the default character encoding is GBK.
Settings---File encodings. It is recommended that you set the IDE Encoding, Project Encoding, Properties fiels to a uniform encoding.
Shortcut keys
The shortcut keys for Android Studio are not the same as eclipse, but you can use the Eclipse shortcut keys in Android Studio.
Settings--Keymap. You can choose the shortcut keys for the IDE from the Keymaps, and Android Studio has more support for other IDE shortcuts. It is recommended that you do not use keyboard shortcuts for other Ides, but instead use the shortcut keys for Android Studio.
When you want to set a change on a shortcut key configuration, you need to click Copy to create your own shortcut and set it up.
Android Studio Default shortcut key, code hint is ctrl+space, will conflict with system input keyboard shortcut, need special setting.
Main Menu----Code----and Basic, change the shortcut key combination that you want to replace.
Other Settings 1
The Android studio editing area will have a vertical line in the middle. This line is used to remind programmers that a line of code is best not to exceed it. If you don't want to show this line, you can set this up.
Settings--and Editor-to-appearance, uncheck Show right margin (configured in Code Style options).
2
Show line Numbers
Settings--and Editor-to-appearance, tick Show line numbers.
3
Displays a space. I'm used to displaying spaces so I can see if the Indentation is tab indent or space indent. It is recommended to use a space indent.
Settings--and Editor-to-appearance, tick Show whitespaces.
4
Remove stitching check. I personally feel useless, so disable.
Settings---inspections-spelling, uncheck.
5
If you use Git for versioning, you'll need to set up Git's installation file directory.
Settings--and Version Control--git, select your git installation directory on the right.
6
Plug - ins. Like Eclipse, Android Studio supports plug-ins. Android Studio comes with some plugins by default, and if you don't use some plugins, you can disable it.
Settings--and Plugins, the list of installed plugins is displayed on the right. Uncheck to disable the plugin.
I personally disabled the plugin:
- The CVS Integration:cvs version control system is not available.
- Google Cloud Tools for Android Studio:google Cloud is not available.
- Google Login:google account login, ' Google Cloud Tools for Android studio** plugin needs to be used.
- Hg4idea:mercurial version control system, not available.
It is important to note that if you disable the 2 and 3 options, you will not be able to use the Import sample feature.
You can search for plugins and install them in the Browse repositories page.
Additional Plugins I personally install:
- . Gitignore support:git version control system. Gitignore file Management plug-in.
7
Check for updates. Android Studio supports automatic check for updates. There are times in a week when the official version has not been released. You can set the type of check to control the type of update.
Settings to Updates. Tick check for update in channel, which automatically checks for updates. You can disable automatic check for updates. The list on the right is the update channel.
- Stable Channel: The official version, only the latest official version is available.
- Beta channel: Test version channels, only the latest beta versions are available.
- Dev Channel: Develop a release channel that will only get the latest development version.
- Canary Channel: Preview the publishing channel and only get the latest preview version.
In the above 4 channels, the Stable channel is the most stable, the problem is relatively small, Canary channel can obtain the latest version, the problem is relatively more.
8
Auto Import. When you copy a piece of code from somewhere else into Android studio, the default Android studio does not automatically import references to the classes used in this code. You can set this up.
Settings to Editor-to-Auto Import, tick the ADD unambiguous improts on the fly.
9
Sometimes many people running Android Studio will remind you that the JDK or Android SDK does not exist and you need to reset it. You need to go to the global Project Structure page to set it up. Go to the Global Project Structure page method as follows:
- Method 1
Choose Configure-Project Defaults-Project Structure
- Method 2
Select File--and other Settings---Default Project Structure
Set up the JDK or Android SDK directory under this page.
10
This is the check on your Android SDK. Someone will be stuck here for a long time, the big reason is: network connectivity problems. Can be resolved by configuring the hosts. If the check requires an update, you will need to install it.
If you want to skip this step, you can do the following:
In the Android Studio installation directory under the Bin directory, locate the Idea.properties file and append disable.android.first.run=true to the file at the end.
Android Studio Simple Setup