Menu

IntelliJ IDEA Plugin Development: What Have I Learned
📰

IntelliJ IDEA Plugin Development: What Have I Learned

DEV Community: kotlin·Dmitry Protsenko·14 days ago
#GpmD86GK
#devtokotlin#devto#dev#plugin#inspections
Long article (3096 words) — no AI summary yet.
Reading 0:00
15s threshold

Almost a year has passed since I began developing a Docker and Kubernetes security scanner deeply integrated into an IDE. I have collected many different thoughts on IntelliJ IDEA plugin development, from building inspections to debugging and maintaining them.

My article IntelliJ Plugin: Building Docker Security Analysis Tools was the first article in my blog and was more generic. In this article, I explain a bit more about the technical staff that I’m using in my work. I hope you will enjoy the article. Let’s dive into IntelliJ IDEA plugin development.

Table of contents

Quick Intro to Inspections

IntelliJ IDEA Inspections Best Practices

Do not use raw PsiElementVisitor

Verifications should be flexible

Take care of plugin internalization

Take care of performance

Extend an IntelliJ IDEA plugin with extension points

The IntelliJ IDEA testing approach

The good test shouldn’t take a lot of your time

Act as a user to test a plugin

Managing releases for the IntelliJ IDEA plugin

Planning and…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.