Photo by Brad Neathery on Unsplash

Must have Plugins for IntelliJ Android

Pratik Chauhan
2 min readNov 28, 2020

We as a developer code a lot on daily basis. We often do some things that are repeated frequently. I always lookout for ways to automate or find any plugins that could help us ease the monotonous work.

Here are a few collections of plugins that I used on daily basis in Intellij

1. Ok Gradle!

This allows us to search for dependency easily inside the Android studio.

Ok Gradle Gif

Plugin link: https://plugins.jetbrains.com/plugin/10102-ok-gradle-

2. Save Actions

This is life savior as these plugins do all the needed stuff in one click. With the help of this, you can do

  1. Optimize Imports
  2. Reformat Code
  3. Rearrange Code

All at once!!!

Plugin link: https://plugins.jetbrains.com/plugin/7642-save-actions

3. Clean Code Method Rearranger

This plugins rearranges the methods in Java classes according to Robert C. Martin’s Step-down Rule.

What is step down Rule?

Suppose you are having a class with the method if firstMethod() got called followed by secondMethod()

Inside the class firstMethod() method should be on top and secondMethod() beneath it.

Lets see first the violation to this rule as we write too many method we might fail to maintain step down rule.

Step-down rule not followed

After using the plugin effect 🌠

Note: This plugin work only for Java (Hope it gets Kotlin support soon)

4. Duplicate Detector

It helps in detecting duplicate lines of code inside the application. This can assist us in following the DRY ( Don’t Repeat Yourself) principle.

Plugin link: https://plugins.jetbrains.com/plugin/9829-duplicate-detector

Hit Clap 👏if you learn something new.

--

--

Pratik Chauhan
Pratik Chauhan

Written by Pratik Chauhan

Self taught Android developer matching the speed of Android advancements thereby integrating into the apps.

No responses yet