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…