---
title: "From Compile Safety to Configuration Safety: Let's Build the Koin IDE Plugin"
description: "From Compile Safety to Configuration Safety: Discover the upcoming Koin IDE Plugin that analyzes Koin configurations in real-time as you write your code."
image: https://blog.kotzilla.io/hubfs/Screenshot%202024-11-18%20at%2016.56.15.png
---

[Skip to content](https://blog.kotzilla.io/koin-ide-plugin#main-content)

[![kotzilla (3)](https://blog.kotzilla.io/hubfs/kotzilla%20(3).svg)](https://kotzilla.io/)

- [Koin](https://insert-koin.io/)
- [Koin IDE Plugin](https://plugins.jetbrains.com/plugin/26131-koin-dependency-injection-official-)
- [Koin LTS](https://kotzilla.io/koin-lts)
- [Developer Hub](https://doc.kotzilla.io/)

Open main navigation

Close main navigation

- [Koin](https://insert-koin.io/)
- [Koin IDE Plugin](https://plugins.jetbrains.com/plugin/26131-koin-dependency-injection-official-)
- [Koin LTS](https://kotzilla.io/koin-lts)
- [Developer Hub](https://doc.kotzilla.io/)
- [Contact us](https://blog.kotzilla.io/koin-ide-plugin#contact)

[Contact us](https://blog.kotzilla.io/koin-ide-plugin#contact)

 Nov 18, 2024, 4:48:42 PM

# From Compile Safety to Configuration Safety: Let's Build the Koin IDE Plugin

[The Kotzilla Team](https://blog.kotzilla.io/author/the-kotzilla-team)

Share: [facebook-f icon](http://www.facebook.com/share.php?u=https://blog.kotzilla.io/koin-ide-plugin) [linkedin-in icon](http://www.linkedin.com/shareArticle?mini=true&url=https://blog.kotzilla.io/koin-ide-plugin) [Twitter icon](https://twitter.com/intent/tweet?url=https://blog.kotzilla.io/koin-ide-plugin) [pinterest-p icon](http://pinterest.com/pin/create/link/?url=https://blog.kotzilla.io/koin-ide-plugin) [envelope icon](mailto:?body=https://blog.kotzilla.io/koin-ide-plugin)

![The Koin IDE Plugin](https://139572340.fs1.hubspotusercontent-eu1.net/hub/139572340/hubfs/Screenshot%202024-11-05%20at%2011.04.49-1.png?width=1200&length=1200&name=Screenshot%202024-11-05%20at%2011.04.49-1.png)

Our Koin community has been clear: compile safety is crucial. This year, over 100 Koin users highlighted the need for more robust dependency management.

We're responding to you, with an even more targeted solution- Configuration Safety.

Configuration safety means catching dependency issues before compilation, directly in your integrated development environment (IDE)

## Compile Safety vs. Configuration Safety

Unlike traditional compile safety, which happens during the compilation process, our approach analyzes Koin configurations in real-time as you write your code.

The Koin IDE Plugin will perform static code analysis, identifying issues like circular references or missing declarations early—before they become runtime errors. This proactive approach will streamline your workflow by preventing configuration problems at their source, rather than waiting for them to surface during compilation or build-time.

By integrating immediately into your development workflow, we're not just checking code—we're preventing configuration errors at their source.

This approach offers additional value compared to other DI frameworks like Dagger2/Hilt, by eliminating the need to wait for compilation or build time.

## 📈 The Technical Advantage 

✅ Immediate configuration analysis

✅ Errors detected in real-time, before compilation

✅ Instant visual feedback in your IDE

✅ Zero runtime surprises

 

## Background

Dependency injection is a core part of modern Android development, helping us build more modular, testable, and maintainable applications. [Koin](https://insert-koin.io/) is a popular choice for DI in the Kotlin ecosystem, providing a lightweight and flexible solution.

One of the key advantages of Koin is its declarative approach to dependency configuration. Instead of relying on complex annotations or XML configurations, Koin allows you to define your dependencies using a simple and concise domain-specific language (DSL). This promotes clean, readable code and reduces boilerplate, making it easier to manage and maintain your application's dependency graph.

[Download the Koin IDE Plugin](https://plugins.jetbrains.com/plugin/26131-koin-dependency-injection-official-)

 

## Empowering Kotlin Developers with Compile Safety

While Koin's declarative DSL is a powerful feature, the framework also provides an annotation-based API that allows you to use the [Kotlin Compiler](https://insert-koin.io/docs/reference/koin-annotations/start#ksp-options) to perform compile-time checks on your Koin configurations. This is achieved through the Koin Compiler Plugin and KSP, which provide options to:

1. **Check Koin Configuration at Compile Time**: Add the `KOIN_CONFIG_CHECK` option to your Gradle setup, and the compiler will verify that all dependencies used in your configuration are declared and that all modules are accessible.  
   ![Screenshot 2024-11-18 at 16.06.45](https://blog.kotzilla.io/hs-fs/hubfs/Screenshot%202024-11-18%20at%2016.06.45.png?width=669&height=152&name=Screenshot%202024-11-18%20at%2016.06.45.png)
2. **Bypass Compile Safety with @Provided**: If you have certain components that are provided externally (ie, a module declared with the DSL), you can use the `@Provided` annotation to exclude them from the compile-time checks.  
   ![Screenshot 2024-11-18 at 16.07.29](https://blog.kotzilla.io/hs-fs/hubfs/Screenshot%202024-11-18%20at%2016.07.29.png?width=677&height=132&name=Screenshot%202024-11-18%20at%2016.07.29.png)
3. **Use the verify() extension function** on your Koin module to verify your Koin configuration. This checks that all constructor classes have a corresponding Koin component defined. If any issues are found, **verify()** will throw a **MissingKoinDefinitionException**:  
   ![Screenshot 2024-11-18 at 16.10.06](https://blog.kotzilla.io/hs-fs/hubfs/Screenshot%202024-11-18%20at%2016.10.06.png?width=648&height=176&name=Screenshot%202024-11-18%20at%2016.10.06.png)

These compile safety features have been available to Koin users since the release of [Koin Annotations 1.3.0](https://blog.kotzilla.io/koin-annotations-1.3.1), but they do require manual setup and configuration.

Now, having listened to your feedback, we want to make this level of type-safety accessible to all Kotlin developers using Koin for DI, directly within the IDE.

## Enter the Koin IDE Plugin

We're excited to announce the upcoming release of the Koin IDE Plugin. This new tool will integrate directly with [Android Studio](https://developer.android.com/studio) and [IntelliJ IDEA](https://www.jetbrains.com/idea/download/?section=mac), providing enhanced visibility and navigation of Koin configurations, as well as the powerful configuration checks.

The Koin IDE Plugin will be part of the broader [Kotzilla Platform](https://kotzilla.io/), which also includes the [Kotzilla SDK](https://doc.kotzilla.io/docs/getstartedCustom/setupAndroid/) and the Kotzilla Console.

[Get the Koin IDE Plugin](https://plugins.jetbrains.com/plugin/26131-koin-dependency-injection-official-)

### Initial Feature Set

In our initial release (Q1 2025), the Koin IDE Plugin will focus on two key areas:

1. **Configuration Tree View**: You'll be able to visualize your entire Koin setup, including modules, components, and dependencies, all within the IDE, making it easier to understand relationships between different parts of your configuration. This view will also include an initial validation check to ensure no configurations are missing, representing the first step toward configuration safety.
2. **Contextual Navigation**: Moving between a component and its configuration will be seamless, with the plugin providing direct links. No more manually searching through your codebase to find where a particular dependency is declared.

These features aim to address common issues faced by Koin users, like struggling to grasp the big picture of their DI setup or having to switch between different files to trace configuration details

### The Koin IDE Plugin's Superpower: Configuration Safety

So, as we said at the start, the ultimate goal is to bring the power of Koin's configuration safety checks directly into the IDE experience. We'll achieve this by integrating our tool seamlessly, where you can easily activate the desired level of safety checks without any extra effort. The plugin handles everything behind the scenes, ensuring a frictionless developer workflow.

It will help you catch problems early in the development cycle, as we’ll analyse your code directly saving time and frustration.

- **Real-time Safety Checks**: The plugin will proactively detect Koin configuration issues directly in the IDE. 
- **CI/CD Integration**: You can choose when to execute compile safety tasks within the CI/CD pipeline, thanks to a dedicated Gradle task that launches a compilation safety check.

This functionality is targeted to be available in the second release of the Koin IDE Plugin, scheduled for Q2 2025, making this level of type-safety accessible to all Koin developers, directly within their everyday IDE workflows.

##  Join In : Help Us Build The Koin IDE Plugin

As always, we can't build this without you, so please join our beta testing program. Your feedback will directly influence the plugin's development roadmap and ensure we're building something truly valuable to you and for the Koin community.

[Get the Koin IDE Plugin](https://plugins.jetbrains.com/plugin/26131-koin-dependency-injection-official-)

[Koin](https://blog.kotzilla.io/tag/koin), [Android](https://blog.kotzilla.io/tag/android), [Koin Annotations](https://blog.kotzilla.io/tag/koin-annotations), [Dependency Injection](https://blog.kotzilla.io/tag/dependency-injection)

## Related posts

[![Kotzilla Platform logo with the text 'What’s New? May 2025' on a black background](https://blog.kotzilla.io/hubfs/Whats%20new%20April%202025%20(1).svg)](https://blog.kotzilla.io/koin-ide-plugin-kotzilla-console-may25)

[Koin](https://blog.kotzilla.io/tag/koin), [Kotzilla Platform](https://blog.kotzilla.io/tag/kotzilla-platform), [Kotzilla SDK](https://blog.kotzilla.io/tag/kotzilla-sdk), [Koin IDE Plugin](https://blog.kotzilla.io/tag/koin-ide-plugin)

## [What’s New in the Koin IDE Plugin & Kotzilla Console — May 2025](https://blog.kotzilla.io/koin-ide-plugin-kotzilla-console-may25)

![Picture of Miguel Valdes Faura](https://blog.kotzilla.io/hs-fs/hubfs/Screenshot%202024-12-09%20at%2013.45.53.png?width=50&name=Screenshot%202024-12-09%20at%2013.45.53.png) [Miguel Valdes Faura](https://blog.kotzilla.io/author/miguel-valdes-faura) 

 May 19, 2025, 9:41:10 AM

The latest updates to the Kotzilla Platform are now live! As part of our continued effort to...

[Read more](https://blog.kotzilla.io/koin-ide-plugin-kotzilla-console-may25)

[![Kotzilla launches the Koin Plugin](https://blog.kotzilla.io/hs-fs/hubfs/kotzilla-launches.png?height=200&name=kotzilla-launches.png)](https://blog.kotzilla.io/kotzilla-launches-koin-plugin-for-intellij-and-android-studio)

[Android](https://blog.kotzilla.io/tag/android), [Kotlin](https://blog.kotzilla.io/tag/kotlin), [Dependency Injection](https://blog.kotzilla.io/tag/dependency-injection), [Kotzilla Platform](https://blog.kotzilla.io/tag/kotzilla-platform), [Application development](https://blog.kotzilla.io/tag/application-development), [Koin IDE Plugin](https://blog.kotzilla.io/tag/koin-ide-plugin)

## [Kotzilla Launches Koin Plugin for IntelliJ and Android Studio](https://blog.kotzilla.io/kotzilla-launches-koin-plugin-for-intellij-and-android-studio)

[The Kotzilla Team](https://blog.kotzilla.io/author/the-kotzilla-team) 

 Mar 18, 2025, 12:27:07 PM

PRESS RELEASE

[Read more](https://blog.kotzilla.io/kotzilla-launches-koin-plugin-for-intellij-and-android-studio)

[![Screenshot of the Koin Dependency Injection (Official) plugin page on the JetBrains Marketplace, showing plugin versions from 1.0.3 to 1.3.1 released in 2025.](https://blog.kotzilla.io/hs-fs/hubfs/Plugin%201.3.0.png?height=200&name=Plugin%201.3.0.png)](https://blog.kotzilla.io/koin-ide-plugin-1.3.1)

[Kotzilla SDK](https://blog.kotzilla.io/tag/kotzilla-sdk), [Koin IDE Plugin](https://blog.kotzilla.io/tag/koin-ide-plugin), [APM](https://blog.kotzilla.io/tag/apm)

## [Koin IDE Plugin 1.3.1: Enhanced Configuration Management and Performance Monitoring](https://blog.kotzilla.io/koin-ide-plugin-1.3.1)

![Picture of Art Shendrik](https://blog.kotzilla.io/hs-fs/hubfs/Screenshot%202024-12-09%20at%2013.21.54.png?width=50&name=Screenshot%202024-12-09%20at%2013.21.54.png) [Art Shendrik](https://blog.kotzilla.io/author/art-shendrik) 

 Jul 31, 2025, 1:57:04 PM

We've released Koin IDE Plugin 1.3.1 with improvements to configuration management and performance...

[Read more](https://blog.kotzilla.io/koin-ide-plugin-1.3.1)

facebook-f icon linkedin-in icon Twitter icon instagram icon

- Menu Item 1 
    - Sub-menu Item 1 
          - Another Item
    - Sub-menu Item 2
- Menu Item 2 
    - Yet Another Item
- Menu Item 3
- Menu Item 4

---

[![kotzilla-logo](https://blog.kotzilla.io/hubfs/kotzilla-logo.svg "kotzilla-logo")](http://www.kotzilla.io)

Copyright © 2025,

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "The Kotzilla Team",
    "url" : "https://blog.kotzilla.io/author/the-kotzilla-team"
  },
  "dateModified" : "2025-06-10T07:20:16.235Z",
  "datePublished" : "2024-11-18T15:48:42.000Z",
  "headline" : "From Compile Safety to Configuration Safety: Let's Build the Koin IDE Plugin",
  "image" : [ "https://blog.kotzilla.io/hubfs/Screenshot%202024-11-18%20at%2016.56.15.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.kotzilla.io/koin-ide-plugin",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.kotzilla.io/hubfs/__Kotzilla_format-site-web-line%201.png"
    },
    "name" : "Kotzilla SAS"
  }
}
```