Android Studio Plugins for Productivity

Natig Babayev
Quick Code
Published in
3 min readJun 13, 2021

--

Efficiency is essential for developers. In this article, I will talk about Android Studio plugins that can improve your productivity.

In case you don’t know how to install plugins in Android studio, you can go to

Configure → Plugins → [Type plugin name] → Install

Note that some of the plugins might require you to restart the Android Studio after installation.

Name That Color

There is a saying that naming is one of the two hardest things in computer science. Naming colors is one of the tedious things to do. Of course, your designer might provide names of colors to you, but that is not always the case. Therefore, I have been using a plugin called Name that Color, which gives names to almost every color. The usage of this plugin is straightforward. You can use Alt + Enter shortcut and choose the Name That Color action. This plugin also has support for material colors. As this will make the naming of colors consistent, it’ll be best if all the developers in your team use it.

JSON To Kotlin Class

When you have a JSON schema, you have few ways to create Kotlin class representing that data. JSON To Kotlin Class plugin will help you to create a Kotlin data class for any JSON. The plugin is straightforward: Option + K, paste the JSON, and give it a name. After you click Ok, your class will be generated. It also has an advanced mode which can even help you more. Check it out; I’m sure you’ll like it.

Kotlin Fill Class

Sometimes we want to create an instance of a class with empty values. Kotlin Fill Class is a useful plugin that generates code and improves my productivity. What it does is very simple and time-saving: It creates the instance of a class and fills it with default parameters. It’s handy in testing situations where you want to see all parameters of the constructor or set some empty values to the instance. It’s simple to use. You need to create an instance of the class, use Alt + Enter shortcuts, and choose the fill class action.

Randomness

Since the previous plugin creates an instance of the class with empty values, what if we want to add some random data, let’s…

--

--

Natig Babayev
Quick Code

Senior Software Developer based in Helsinki, Finland