IntelliJ Plugin Development
This article introduces plugin development related content, focusing on how to deal with problems encountered...
I believe that many plugin developers in the initial period will encounter a lot of various difficulties, but this is quite normal. So far, I have developed a number of plugins during which I also encountered a lot of problems. Some are still learning, some are still being solved. If you have similar problems, then this article is worth reading.
For myself, when it comes to problems, there are generally so many ways to deal with them as follows:
I - IntelliJ Platform
Section titled “I - IntelliJ Platform”IntelliJ Platform Equivalent to the SDK platform documentation. Includes documentation for plugins, base platform, project model, PSI, features, testing, resources, API changes, tools, and other modules.
II - IntelliJ Community
Section titled “II - IntelliJ Community”IntelliJ Community contains a lot of questions and answers.
III - IntelliJ
Section titled “III - IntelliJ”IntelliJ Plugins is a git repository that contains many of JetBrains' own plugins, where you can find good examples for reference.
IV - IntelliJ Code Samples
Section titled “IV - IntelliJ Code Samples”IntelliJ Code Samples is a git repository where good examples can be found for reference.
V - YouTrack
Section titled “V - YouTrack”YouTrack is mainly used for bug feedback, and you can also search for relevant information here when you encounter problems.
VI - Internal Model & Source Code
Section titled “VI - Internal Model & Source Code”This is a very useful feature. The internal mode can be enabled from this document. Internal mode together with IntelliJ Community Edition source code can solve a lot of problems.
I do highly recommend using this approach to solve problems. When using this approach, you need to read the IntelliJ Community Edition source code, which can be very good to develop some habits of source code reading source code.
VII - Slack
Section titled “VII - Slack”Here you can discuss plugin development for the JetBrains IDE and Team Tools, as well as all things related to the JetBrains Marketplace. There are a lot of plugin developers as well as official developers here, and most of the issues can be solved here.
Slack for me is generally the final option when I'm at the end of my rope, and when none of the above can be solved, I look for other developers or official developers in Slack to assist with the solution.
Summaries
Section titled “Summaries”These are the solutions to the problems I have encountered in my own development process over the past few years. I hope it can provide a reference for developers who need it.