Windows environment Android Studio V1.2.2 Series 3-Simple setup

Source: Internet
Author: User
Tags mercurial version control system version control system

References

[1] Android Studio simple setup, HTTP://ASK.ANDROID-STUDIO.ORG/?/ARTICLE/14

[2] windows environment Android Studio V1.2.2 Series 1-Download and install,  http://my.oschina.net/1pei/blog/467210

[3] Windows environment Android Studio V1.2.2 Series 2-First run, http://my.oschina.net/1pei/blog/467736


Interface Settings

The interface for the Darcula interface is already selected in series 2, but if you want to choose a different type, you can select it by File-->setting-->appearance & Behavior-->appearance. Here are Darcula,intellij, Windows three interface styles that can be selected according to your preference.


color and font settings

System font Settings

If you have a problem with the Chinese display in the Android studio interface, or if you choose to display a problem with the Chinese catalog, or if you want to modify the font of the menu bar, file-->setting-->appearance & Behavior -->appearance to choose , now the default Chinese font is Microsoft ya Black, size is 15, so it is not recommended to modify.

Programming font Settings

This section modifies the font of the editor, including all the fonts displayed by the file. available through file-->setting--> Editor--Colors & Fonts--and Font to set. When the UI theme select Darcula, the system defaults to show the scheme is Darcula, is not editable, you need to click on the right side of the Save as ... , save a copy of your settings, for example, Mydarcula, and then set it in Mydarcula Scheme . After that, you can set the font in the editor font, where I set the main font to Darcula default Consolas, with a font size of 15.

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.

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.

available through file-->setting--> Editor -- File encodings to set. It is recommended that you set the IDE Encoding, Project Encoding, Properties fiels to Unified UTF-8 encoding.

control one line of code length

in the There will be a vertical line on the right side of the Android studio editing area. This line is used to remind programmers that a line of code is best not to exceed it. If you do not want to display this line, uncheck show right margin by file-->setting--> Editor-to-general-->appearance Configured in Code Style options). However, it is recommended to keep this line.

Show Line Numbers

available through file-->setting--> Editor-to-General-->appearance, tick show line numbers to set.

Show Spaces

available through file-->setting--> Editor-to-General-->appearance, check show whitespaces to set.

Plugins

Android Studio supports plugin additions or deletions. Android Studio comes with some plugins by default, and if you don't use some plugins, you can disable it.

The list of installed plugins is displayed on the right with file----and Settings-Plugins, and the plugin can be disabled by unchecking it.

I have personally disabled the following plugins:

The CVS Integration:cvs version control system is not available.

GitHub: CVS Version control system, the company uses Git control system, no use of GitHub.

Google Cloud Testing:google Clouds test, not to use.

Google Cloud tools for Android Studio: google clouds tool, not available.

Google login:google Account Login, not available.

Hg4idea:mercurial version control system, not available.

Subversion INTEGRATION:SVN version control system, not available.


It is important to note that if you disable the Google Cloud xxx plugin option, you will not be able to use the Import official sample feature (imported sample).

You can search for plugins and install them in the Browse repositories page.

Additional Plugins I personally install:

. Ignore Support:git version control system. Gitignore file Management plug-in.

Git Flow integration:git Branch Management Plugin


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.

available by file --Settings-- Appearance & Behavior -- System Setting --and updates, tick the Automatically check updates for channel, which automatically checks for update. You can disable automatic check for updates.

The following list 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.



Other settings include coding styles, spell checking, versioning, build Tools, Compiler, coverages, debugger, and more, and you can choose your own settings.

Windows environment Android Studio V1.2.2 Series 3-Simple setup

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.