In 2009, JetBrains released the source code for IntelliJ IDEA under the open-source Apache License 2.0. The first version of IntelliJ IDEA was released in January 2001 and was one of the first available Java IDEs with advanced code navigation and code refactoring capabilities integrated. Both can be used for commercial development. It is developed by JetBrains (formerly known as IntelliJ) and is available as an Apache 2 Licensed community edition, and in a proprietary commercial edition. If debugging is required, select the Sourcepath tab, click the Add button ( +) and select the root folder of the checked-out sources.IntelliJ IDEA is an integrated development environment (IDE) written in Java for developing computer software written in Java, Kotlin, Groovy, and other JVM-based languages. ![]() See The Development Instance Sandbox Directory for details. In the added SDK, specify the Sandbox Home directory. In the Select Internal Java Platform dialog, select the JDK configured in the previous step and click OK button. option.Ĭhoose the installation folder of the IDE downloaded previously (on macOS, select application icon in /Applications/). Select the Add IntelliJ Platform Plugin SDK. The second step is adding IntelliJ Platform Plugin SDK that will use the JDK configured in the first step. If the required JDK is not installed on your machine, the simplest option is using Download JDK. option and choose the installation folder. If your JDK is not detected, select the Add JDK. If you have the required JDK installation on your machine, and it is detected, select it from the Detected SDKs list. Go to File | Project Structure | Platform Settings | SDKs. Please make sure to always upgrade gradle-intellij-plugin to the latest version Add JDK Java 11 is required ( blog post) when targeting 2020.3 and later only. Java 17 is required ( blog post when targeting 2022.2 or later only. The first step of configuring a theme plugin SDK is adding the JDK. If it is required to style components used only in a specific IDE like IntelliJ IDEA Ultimate or WebStorm, they can also be used as SDK, but debugging the core code will only work with the IntelliJ IDEA Community Edition. ![]() In most cases, it is enough to download and use IntelliJ IDEA Community Edition. To see the effects of the developed plugin in real IDE, it is required to run the plugin in an IDE Development Instance. ![]() Configuring IntelliJ Platform Plugin SDKįor more information about SDKs, see SDKs section in the IntelliJ IDEA Web Help. Note that building the checked-out sources is not required in this case. In case you are developing a plugin extending IDE behavior, or you need to understand how some components work internally, having sources makes debugging much more straightforward.įor detailed instructions on how to check out the code efficiently, refer to the Getting IntelliJ IDEA Community Edition Source Code section of IntelliJ IDEA Community Edition README file. Getting the IntelliJ IDEA CE source code is not a requirement for theme development as debugging the platform code while developing a theme is a rare situation. See Get IntelliJ IDEA CE Source Code for more details. This step is needed only when you plan to debug the IntelliJ Platform code. IntelliJ IDEA CE source code is checked-out. Plugin DevKit plugin is enabled in IntelliJ IDEA. IntelliJ IDEA Community Edition or IntelliJ IDEA Ultimate is installed. Use the following checklist to ensure that you are ready to develop your custom theme: ![]() Setting Up a Development Environment Preliminary Steps
0 Comments
Leave a Reply. |