2015-04-29 09:41:18 +02:00

1.4 KiB

layout title
editable Setting Up Development Environment

In order to set up the plugin development environment, you should follow these steps:

  • Check out the sources of IntelliJ IDEA Community Edition as described in Check Out And Build Community Edition

  • Create a new IntelliJ IDEA SDK

    Create IntelliJ IDEA SDK

  • Set IDEA jdk created in Check Out And Build Community Edition as a default Java SDK

    Set IDEA JDK

  • Specify your installation of IntelliJ IDEA Community Edition as the home path

    Note: You can use IDEA Ultimate as well, but debugging the core code will only work with the Community Edition

  • In the Sourcepath tab of the SDK settings, press Add button

    Add Sourcepath

  • Specify the directory into which you have checked out the sources of the Community Edition

    Specify Source Paths

  • Go to File | New | Module

  • Choose IntelliJ Platform Plugin module type

    IntelliJ Platform Plugin Module

  • Set desired plugin name

  • Go to File | Project Structure

  • Select the newly created IntelliJ Platform SDK as a default SDK for the plugin module

    Set Plugin Module SDK