📜 ⬆️ ⬇️

How to become more productive with plug-ins Android Studio

image

Android Studio is a very reliable tool. It has the simplest and at the same time the most flexible interface for developing user interfaces for all types of devices.
We can drag view elements and widgets in our layout editor and fine-tune them in several lines in xml.

The studio has industry-leading code editing, debugging and performance tracking tools.
')
But sometimes you want this tool to make us even more productive.

What makes us productive?


- Ability to write more lines by pressing fewer buttons.
- Ability to quickly debug code.

To see what else the android studio has in stock, let's look at the plugins. They extend the capabilities of the project. Cool plus plugins - they are easy to install. Go to “Settings” → “Mac Plugins” and view the plugins from one of the following options.

image

Code generators


MVP generator

Install this plugin and create MVP code for Android. Click the combination (+ N) and select GenerateMVP . There are several MVP plug-ins, it is better to experiment with them to choose your needs. Keep in mind that some of these automatically generated codes may add code for libraries such as Dagger or RxJava , so add the appropriate dependencies in the gradle .

Parcelable generator

Parcelable is an android implementation of Java Serializable . It is used to transfer data between Android components with processing times faster than Java Serializable. You can install this plugin, and then click (⌘ + N) to open a pop-up window to generate a code where you can select Parcelable .

DOnator

All Android applications use JSON to communicate. JSON is an easy and preferred format for exchanging data on mobile devices. We create a POJO from JSON. This plugin allows you to create POJO in Android IDE. I think this plugin is very useful.

ButterKnifeZelezny

Android Studio plugin for generating ButterKnife injections from selected layout.

UI Plugins


Material Studio UI EAP Theme

Android Studio has two available themes: Default and Dracula . If you want to use a theme with material design elements, then you should go here.

CodeGlance

Embeds a mini code card, similar to the one in Sublime, into the editor area. Works with both light and dark themes, using your individual colors for syntax highlighting.

Android DPI Calculator

The DPI calculator allows you to calculate different sizes in all available default densities on the Android platform, that is: xxxhdpi, xxhdpi, xhdpi, hdpi, mdpi, ldpi and tvdpi .

Debugging


View JVM Debugger Memory

I recently learned about this plugin, it is very convenient and useful for each application. If you have memory problems in the application or you want to check the distribution of objects, install this plugin.

Android Resource Tracking

This plugin automatically calculates the use of resources and shows it in the left of each line in the Android Studio. Very handy if you want to get rid of resources that are no longer used in your project.

Useful Utilities


BIU

Biu is a handy plugin for PNG compression. It works from the well-known pngquant library and API from tinypng .

Note If you have Android minsdkversion ≥ 18 , you can also convert images to WebP format.

Folding plugin

This plugin is very useful in android development. It can display your files as a group of different folders in the project structure view. A good advantage of this plugin: it does not create folders and does not move files.

GitIgnore

You can not ignore this plugin. Because it allows you to ignore build files, automatically created files, IDE caches, etc.

AndroidLocalizationer

This plugin will help you translate your string resources into other languages. Install it, and then right-click on the string resource file and select "Convert to other languages", and select the languages ​​you want.

Android Wifi ADB

Android wifi ADB helps you install, run and debug your apk over wifi.



If you want more interesting and useful plugins, then you are here .

Source: https://habr.com/ru/post/336436/


All Articles