Table of Contents

IDEA Plugin Dev - Setting Up a Development Environment and Creating a Plugin Project

About

How to configure the environment of development.

Steps

Create a new project and configure the Plugin Sdk

Debugging the core code will only work with the Community Edition because the Ultimate version is closed source. You can use Ultimate to develop the plugin and debug and test the plugin with the Community version.

Idea New Intellij Platform Plugin Project

Idea Plugin Sdk

Configure the Plugin SDK source path

:: Create a directory
mkdir d:\git_idea_community
:: Go in it
cd /D d:\git_idea_community
:: Clone the source code 
:: git clone --depth 1 <url> --branch <branch> --single-branch <folder>
git clone --depth 1 git://git.jetbrains.org/idea/community.git -b 143 --single-branch .

where:

Cloning into '.'...
remote: Counting objects: 90889, done.
remote: Compressing objects: 100% (71743/71743), done.
remote: Total 90889 (delta 21641), reused 58084 (delta 10632)
Receiving objects: 100% (90889/90889), 351.85 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (21641/21641), done.
Checking connectivity... done.
Checking out files: 100% (78493/78493), done.

Idea Sourcepath Plugin Sdk

Verify (Plugin Configuration in module)

All plugin configuration are now in a module.

Idea Plugin Configuration

To continue

Documentation / Reference