[Android Studio authoritative tutorial] Configure the "NB" for Android studio

Source: Internet
Author: User

Previous blogs we have installed as, and created our first Hellowrod, this blog we continue to configure a NB of Android Studio

If you're a kid's shoe that starts touching as or wants to transition from eclipse to as, keep your eye on my left column [Android Studio's authoritative tutorial], OK. Start with our tutorials.

1. Configure the IDE theme

The default theme is a gray-white one. Look at this special not good-looking. And for our program developers to be on the computer for several hours a day. A special eye injury. Let's configure a dark theme on a tall one.

Click the small icon for this setting

Here theme defaults to the default we choose here Darcula

Click [Apply] and our theme is changed.

2. Configure Code topics

Here we can change the theme of various code like eclipse, such as [font size, font color (recommended default), font spacing, etc.]


    1. Define a code theme yourself

The default two themes we have no way to change, we need to define a theme and then we can change, such as the following:
In this step we first select [Darcula] and then [Save as]

2. Set font size and spacing

3. Setting console font size and spacing

4. Set your own active guide package

Sometimes we need to manually guide the package, it is troublesome, we can set up to fully implement their own active guide package, which is the highlight of the AS

5. Set the code to show the number of lines itself

3. Set the code to prompt yourself

Setting code hints This is much simpler than eclipse. For example, the most important thing is to set the completion to none, and the others follow my settings (usually the default):

Effect

    • Hints in Java code

    • Hints in XML

4. Set Logcat color

The default as Logcat only have error and assert is red and no difference, too affect the visual effect.

Look at the effect I set out.

Start setting:
1. Locate the Android Logcat, editor, Colors &fonts, or enter Logcat in the search box above
2. Click on the verbose, Info, debug options. Then use inberited attributes in the back to remove the tick
3. Then select the check box in front of the Foreground, you can double-click the back to choose the color
4. Apply–>ok

corresponding color value

Log Level Color Value
VERBOSE bbbbbb
DEBUG 0070BB
INFO 48bb31
WARN BBBB23
ERROR FF0006
Assert 8f0005

, copy the corresponding color value directly above to the example below

Suppose you want to set up a more cool Android Studio Logcat. Please see my blog, effects such as the following, remember the top OH

Android Studio-Join the most bull log* artifact you've ever seen *

5. Cancel every time the last item is started at as startup

This assumes that you are using as for a long time, you will be very annoying this feature, added that I last time opened 5 items, I closed, the next start all turn to me open. and on Windows. Sometimes the computer card freezes directly. Fortunately, Google gives us the ability to set up a place that allows us to choose which items to open each time we launch:

Effect:

6. Export/Import my "NB" settings

We've made so many settings here, assuming that the computer is re-installed, and we're installing the as again. So we're going to set it up again. A waste of time, then we can export these settings, download the direct import OK

Export:

Put on the desktop our preservation is not permanent, I suggest that the children's shoes to the desktop of the Settings.jar file on the network disk, and then the next download will be able to import.

Import:

If you click and select our exported Settings.jar file, OK.

Interested children's shoes can follow my blog, my column will continue to update the Android Studio tutorial. As well as the configuration and compilation of the NDK at the I/O Conference, I will share all of them with you.
And I received an invitation from CSND's instructor, and later I will record the use of these Android studio videos into a video published at Csdn College.

If you still have questions, please leave a message here, I will reply in time. Suppose there's something you want to set up. Can leave a message, assuming you feel good, then please click on the top.

/** * -------------- * 欢迎转载   |  转载请注明 * -------------- * 假设对你有帮助,请点击|顶| * -------------- * 请保持谦逊 | 你会走的更远 * -------------- * @author zsl * @github https://github.com/yy1300326388 * @blog http://blog.csdn.net/yy1300326388 */

[Android Studio authoritative tutorial] Configure the "NB" for Android studio

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.