Android Studio Plugin Grooming

Source: Internet
Author: User
Tags root access eventbus

1.GsonFormat

Quickly convert a JSON string into a Java bean, sparing us the process of writing a Java bean based on a JSON string.

How to use: Shortcut key alt+s You can also use Alt+insert to select Gsonformat

2.Android Butterknife Zelezny

With Butterknife implementation of annotations, never write Findviewbyid, think about the cool AH. Select the resource ID of the layout XML in Activity,fragment,adapter to automatically generate Butterknife annotations.

How to use: Ctrl+shift+b Select the options shown on the diagram

3.Android Code Generator

Quickly generate corresponding activity,fragment,adapter,menu based on the layout file.


4.Android parcelable Code Generator

JavaBean serialization, fast implementation of the Parcelable interface.

5.Android Methods Count

Show the number of methods in a dependent library

6.Lifecycle Sorter

The life cycle method location can be sorted according to activity or fragment life cycle, shortcut CTRL + ALT + K


7.CodeGlance

On the right you can preview the code for quick positioning


8.findbugs-idea

Find bugs for plugins, Android Studio also provides code review features (Analyze-inspect ... )

9.ADB WIFI

Debug your app wirelessly with WiFi without root access
You can also refer to the following articles:
Android WiFi Wireless Debugging app new gameplay adb WIFI

10.AndroidPixelDimenGenerator

Android Studio automatically generates the Dimen.xml file plugin

11.JsonOnlineViewer

requesting, debugging interfaces in Android studio

12.Android Styler

A plug-in that automatically generates style code based on XML



Usage:

A. Copy lines with the future style from your Layout.xml file
B. Paste it to Styles.xml file with Ctrl+shift+d (or context menu)
C. Enter name of new style in the modal window
D. Your style is prepared!

13.Android drawable Importer

This is a very powerful picture import plugin. It imports the Android icon with the material icon drawable, Bulk Import drawable, multi-source import drawable (that is, the import of a picture of various dpi corresponding to the picture)








14.SelectorChapek for Android

The selector file is automatically generated from the resource file name.



15.GenerateSerialVersionUID

Implementing serializable serialization Beans

Adds a new action ' serialversionuid ' in the Generate menu (ALT + INS). The action adds an SERIALVERSIONUID field in the current class or updates it if it already exists, and assigns it the same Value the standard ' serialver ' JDK tool would return. The action is a visible when idea is not a rebuilding its indexes, the class is serializable and either no Serialversionu ID field exists or its value was different from the one of the ' serialver ' tool would return.

16.genymotion

Faster Android Simulator

17.LeakCanary

It helps you to detect memory leaks conveniently during the development phase, which is easier and easier to use.
You can refer to the following articles:
Leakcanary instructions for use in Chinese

18.Android Postfix Completion

Can be based on the suffix to quickly complete the code, this belongs to the expansion bar, the system already has these functions, such as sout, notnull, etc., this plugin in the original based on the addition of some new features, I would like to do is through the original author's code to customize the function, it is more cool

19.Android Holo Colors Generator

Generate corresponding drawable and layout files by customizing the Holo theme Colors

20.dagger-intellij-plugin

Dagger Visual aids

21.GradleDependenciesHelperPlugin

Maven Gradle relies on support for auto-completion

Butterknife This third-party library after each update, the binding view of the annotations will change, from bind, to inject, and then to BindView, make a lot of people do not dare to upgrade, once upgraded, there will be a huge amount of code needs to be manually modified, very painful
When we have some great code that needs to be used for other projects, we find that the project has a limited use of third-party libraries, we can't use butterknife, and then we have to change from annotations back to Findviewbyid
For the above two cases, if the view is less good to say, if there are dozens of view, then we manually delete the annotations, write Findviewbyid statement, it is a nightmare (don't ask me why I know this is a nightmare)
So why not use a plug-in for a regular, repetitive, and simple job? So the idea of Removebutterknife appeared.

Specific introduction

23.AndroidProguardPlugin

One-click Build Project obfuscation code plug-in, it is worth you to install ~ (but there may be some third-party project confusion has not been added completely)

24.otto-intellij-plugin

The Otto event navigation tool.


25.eventbus-intellij-plugin

Eventbus Navigation Plugin

26.idea-markdown

Markdown Plug-in

27.Sexy Editor

Set the background of the as code editing area

First click on the interface Settings button to enter the Settings screen, select Plugins, right Select Browser ..., enter sexy ... The following automatically pops up the candidate plugin, right click Install installation

Need to restart as after successful installation

After the restart is complete, enter the settings screen select other Setting under the sexy Editor, the right insert one or more pictures, the other settings above can set the azimuth interval transparency and so on, after the setup is complete, to close open files, reopen the project file can be edited in code Area displays the inserted picture as a background map of the code editing area.

28.folding-plugin

Plug-in for layout file grouping

29.android-dpi-calculator

DPI Compute plug-in

Use:

Or

30.gradle-retrolambda

Using the lambda expression plug-in in Java 6 7

Modify the compiled JDK to JAVA8:

Android Studio Plugin Grooming

Related Article

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.