# Announcing the Apollo Kotlin plugin for Android Studio and IntelliJ IDEA

DevFeed: [Announcing the Apollo Kotlin plugin for Android Studio and IntelliJ IDEA](<https://devfeed.tech/articles/announcing-the-apollo-kotlin-plugin-for-android-studio-and-intellij-idea-23145.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/announcing-the-apollo-kotlin-plugin-for-android-studio-and-intellij-idea>)

Author: Benoit Lubek

Published: 2023-06-20T12:22:59Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [intellij idea plugin](<https://devfeed.tech/topics/intellij-idea-plugin.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [gradle-plugin](<https://devfeed.tech/topics/gradle-plugin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [build](<https://devfeed.tech/tags/build.md>), [client](<https://devfeed.tech/tags/client.md>), [client-library](<https://devfeed.tech/tags/client-library.md>), [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [features](<https://devfeed.tech/tags/features.md>), [generation](<https://devfeed.tech/tags/generation.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [idea](<https://devfeed.tech/tags/idea.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [intellij-idea](<https://devfeed.tech/tags/intellij-idea.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [library](<https://devfeed.tech/tags/library.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [models](<https://devfeed.tech/tags/models.md>), [plugin](<https://devfeed.tech/tags/plugin.md>)

## AI overview

The Apollo Kotlin IDE plugin preview for Android Studio and IntelliJ IDEA runs GraphQL code generation in the background when query files change, so updated models are available without manually running the Gradle task. It also offers migration actions for Apollo Kotlin 2 to 3 and for the older Kotlin 3 codegen, which the excerpt says is due to be discontinued in version 4. Navigation can target a query's GraphQL definition while retaining generated-code navigation; gutter icons open operation and fragment definitions, "Go To Type Declaration" reaches the schema, and "Find Usages" lists Kotlin references to an operation. Finding usages for fields is described as a future possibility.

## Source excerpt

We're happy to introduce an Apollo Kotlin plugin for Android Studio and IntelliJ IDEA, to help you work with the library and improve your productivity. This preview release can be tried out today. Features On-the-fly code generation Apollo Kotlin is a strongly-typed client library that generates models from your GraphQL queries. This works thanks to a Gradle plugin that triggers the code generation at build time.