Developing IntelliJ IDE Plugins with Kotlin and PSI
Make your IDE smarter—build plugins that automate, refactor, and shape code your way.
About
This course teaches you how to build your own JetBrains IDE plugins using Kotlin and the Program Structure Interface (PSI), the engine behind the IDE’s code intelligence.
You’ll start with the fundamentals of PSI trees and gradually build powerful plugin features that analyze, modify, and generate code structures. You’ll write real plugins that rename functions, add annotations, create data classes, and refactor method bodies, all while learning to safely extend the IDE’s functionality.
Your result: a set of working plugins and the foundational skills to automate tasks, enhance IDE behavior, and develop tools for yourself, your team, or the JetBrains Marketplace.
Content
- Welcome and good luck!
- Setup before you start
- Introduction to PSI
- Accessing PSI Elements
- Editing PSI Elements
- Building PSI Elements
- PSI final project
Learn with the tools developers use every day
What do you need to start?
The JetBrains Toolbox App 2.7+ makes setting up your course effortless. Already have a compatible IDE? It will launch it. If not, the app will install the right free IDE for your course.
Learn more about our licences here.
Click Launch course and then Allow to open the Toolbox App.
Select Always Allow to skip this confirmation in the future.
To return to the course later, find it in your IDE's recent projects.
Need more help? Check out our guide.
The JetBrains Toolbox App 2.7+ makes setting up your course effortless. Already have a compatible IDE? It will launch it. If not, the app will install the right free IDE for your course.
Learn more about our licences here.
Click Launch course and then Allow to open the Toolbox App.
Select Always Allow to skip this confirmation in the future.
To return to the course later, find it in your IDE's recent projects.
Need more help? Check out our guide.
FAQ and troubleshooting
Yes, you will need the JetBrains Toolbox App and a JetBrains IDE.
Just click this link to install the JetBrains Toolbox App. We've taken care of all the necessary settings, and the app will handle the rest of the setup for you.
The JetBrains Toolbox App checks which IDE is compatible with your course and whether it is installed on your computer. If you have the necessary IDE installed, the app will open it. If not, JetBrains Toolbox will initiate the installation, prioritizing free community editions.
Yes, the JetBrains Toolbox App is essential even if you already have a JetBrains IDE. It automatically prepares your IDE for studying by installing the essential plugins and updating the IDE if necessary.
Please make sure you have the latest version of the JetBrains Toolbox App. To update, open the app and click Update Toolbox App, or download the latest version here.
If you’re using a Chrome-based browser, please also allow Find devices on local networks in the popup that appears on the course page. When this permission is granted, the page will detect when the Toolbox App opens on your system and you’ll be able to open the course properly.
Yes! It's 100% free and works with both the free and paid versions of JetBrains IDEs.
If you're a student, apply for the Student Pack to get full access to JetBrains IDEs for the duration of your studies. If not, check if you qualify for a free non-commercial license.





