Intellij(2021.3) New updates for development Android

Yugandhar
Android App Development for beginners
3 min readSep 24, 2022

Hi Folks in this article I would like share new the updates of Intellij IDE(2021.3)and useful for android app development.Key points going to share.

Kotlin updates for development and debugging

1 ) Constant conditions inspection for kotlin

In this update IDE will inspect the conditions and inform to developer is any modification is needed for that condition with suggestions. With Simplify comparison or More actions options selection it will modify the conditions.

2) Debugger updates for kotlin

If we want to debug the method chain in kotlin language now we can use smart step into. With this option we can debug the method easily.First we have to attach debugger to program and add the break points then in method chain break point execution we have to select smart step into option in Debugger window or we can click F7. It will show method chains entry points.

Pink highlighted executions method chain execution points.

3) Inline hints for ranges

Now in ranges it provide hints to the number range in the form of symbols >,<>=,<= in kotlin

4) Extract constant refactoring

We can do Constants refactoring extraction by selecting the constant and press ctrl+alt+c it will extract the constant from the expression.

User experience updates

  1. New Bookmarks tool window

Now in Bookmarks window we can create a lists we can categorize our bookmarks. For this in Bookmarks window we have create a list and start adding the book marks.

This is the output i have created

2) Reworked show usages

There is new improvement in show usages we can now see the source code preview and number of places it was used. Place the cursor on the method and click ctrl+B I will show the implementation window in that we have preview source and number of places it was used.

These are the options I have used and there lot more please refer from this.

https://www.jetbrains.com/idea/whatsnew/2021-3/

I hope these are use full for every developer. Thanks next time I will come with VCS updates in intellij topic.

--

--