1. Download and install IntelliJ IDEA
Download and install either IntelliJ IDEA Ultimate or IntelliJ IDEA Community Edition.
2. Check out Community Edition source files
3. Configure SDK and source files
- Configure a JDK (or make sure it is configured).
- Configure an IntelliJ IDEA Plugin SDK. You should specify the directory with an installation of IntelliJ IDEA. By default it offers the directory of currently running IntelliJ IDEA.
- Configure source files by specifying the directory with Community Edition source files.
4. Install additional plugins
Install and enable Grammar-Kit, JFlex Support, Plugin DevKit and PsiViewer plugins.
5. Configure JFlex settings
The source code of IntelliJ IDEA Community Edition includes a patched version of JFlex and lexer skeleton file. You should select specify them in JFlex settings.
6. Create a project
Create an IntelliJ IDEA Plugin project and specify IntelliJ IDEA Plugin SDK.