![]() ![]() In this case, plugins can be either bundled, third-party or even your own. Your plugin may depend on classes from other plugins. Intentions - context-specific actions available in the editor. Some of the common extension points are the following: To get the list of the available extensions and extension points, explore the *Extention/*ExtentionPoints files in this directory of the Community Edition sources. A plugin should declare that it implements one or several extensions or extension points in the plugin.xml file. IntelliJ Platform provides extensions and extension points for the plugins to add new or customize the existing functionality. Note that CLion internal SDK might change at any point without prior notice.įor assistance with the API usage for your CLion plugin, feel free to ask on the community forum. Such changes are listed in Incompatible Changes in IntelliJ Platform and Plugins. The API of the IntelliJ Platform can change between releases and therefore affect plugins functionality. An effective way to explore the Platform API is to obtain and inspect the sources of the IntelliJ IDEA Community Edition from the official repository. ![]() Platform Open APIĬLion doesn’t provide its own public API with the guaranteed stability and detailed descriptions, yet you can use all the features of the Platform Open API. In case of using DevKit, make sure to install CLion manually. With the Gradle-based approach, it can be downloaded automatically by the build script. If you are new to Gradle or need more information on using it for building plugins, refer to Getting Started with Gradle and Building Plugins with Gradle in the Platform SDK docs.Īs an IDE for your plugin development, use IntelliJ IDEA Community or Ultimate edition.Īpart from the IntelliJ IDEA itself, you will need a target CLion distribution. There are two supported workflows for IntelliJ plugin development: either using gradle-intellij-plugin with Gradle as a build system (the recommended way) or DevKit with the IntelliJ IDEA’s own build system. This article is intended to help you grasp the basics of the IntelliJ Platform plugin development and guide you through the very first steps of implementing your CLion plugin.Īny CLion plugin is an extension to the IntelliJ Platform, so in general it is a specific Java project. When you miss certain functionality in CLion, you may consider writing your own plugin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |