Bite-sized IntelliJ SDK libraries for IDE-independent tools on Maven Central

Dear Community,

I really love and enjoy the IntelliJ IDE and I have recently taken that to another level by exploring its platform SDK to build small security-centric static analysis tools (personal use for now, with the hope to release them to the community at some point). These tools should be able to run in an IDE and sometimes as command-line or headless tools independent of an IDE. I am not sure whether it is a priority for the community to help people like me building tools that leverage only a small subset of the IntelliJ SDK to do so easily. I understand that there may be other priorities, but there are gems in the SDK that could be used outside the IDE that are waiting to be discovered.

As I couldn't find recent versions of the SDK libraries in Central, I decided to contribute back a bit by building the platform as smaller components available on (Maven) Central. Ideally, this should be a community build, but I wanted to help myself and others who may have similar needs. Please find the GitHub repository here: https://github.com/adedayo/intellij-community . It contains a small build script added to the CE trunk and it has information on the coordinates of the libraries on Central.

I am happy to offer this back to be maintained as an official community build, or to continue to build major trunk versions. Please let me know your thoughts and preferences, but keep doing the great work you are doing on IntelliJ - I am happy to contribute in whichever way you feel is best :-)

Kind regards,
Dayo

2 comments
Comment actions Permalink

Hi Adedayo,

We're actually working on something along the same lines internally, so my advice would be to wait until the release of IntelliJ IDEA 15 and see if it matches your needs.

Also note that it's already possible to build a subset of IntelliJ IDEA designed for use in standalone applications, and in fact this is used by the Kotln compiler. The Community Edition build builds intellij-core.jar which contains a set of IntelliJ IDEA modules specifically extracted to work in such a fashion, and in fact it's possible to use that jar for many similar tools.

0
Comment actions Permalink

Thank you Dmitry!

I shall wait to see the outcome of IntelliJ IDEA 15, hopefully it meets my needs and that of others, that would be a much more preferred solution.

I found myself using intellij-core.jar and intellij-core-analysis.jar, which are fairly large jar files in the Community Edition build. There were also a few bundled dependencies from external projects, in particular trove4j.jar, that I couldn't replace with publicly available instances on Maven Central. These are not major issues that cannot be overcome: just makes things slightly inconvenient.

Thank you for the excellent platform, much appreciated.

Kind regards,
Dayo

0

Please sign in to leave a comment.