IntelliJ IDEA Community Edition
Switch branches/tags
115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 145.1617.8 145.1812 145.2070 145.2073 162 162.646 162.844 162.844.8 162.889 162.917 162.1024 162.1120 162.1236 162.1346 162.1447 162.1531 162.1628 162.1812 162.1889 162.1967 162.2032 162.2097 162.2159 162.2228 162.2291 162.2380 162.2519 162.2573 162.2630 162.2687 162.2745 163 163.3094 163.3512 163.3983 163.4396 163.4830 163.5219 163.5644 163.6110 163.6512 163.6957 163.7342 163.7743 163.8233 163.8703 163.9166 163.9735 163.10154 163.10504 163.10615 163.11103 163.11479 163.11639 163.12024 163.12455 163.13906 163.14797 163.15188 163.15529 171 171.1834 171.2014 171.2152 171.2272 171.2455 171.2613 171.2822 171.3019 171.3224 171.3566 171.3691 171.3780 171.3890 171.3991 171.4073 171.4163 171.4249 171.4330 171.4424 171.4527 171.4610 171.4694 171.4772 172 172.1572 172.1745 172.1796 172.1909 172.1947 172.2103 172.2273 172.2465 172.2656 172.2827 172.2953 172.3095 172.3198 172.3317 172.3425 172.3544 172.3652 172.3757 172.3861 172.3968 172.4074 172.4155 172.4255 172.4343 172.4574 173 173.2099 173.2290 173.2463 173.2696 173.2941 173.3188 173.3302 173.3415 173.3531 173.3622 173.3727 173.3850 173.3942 173.4031 173.4127 173.4215 173.4301 173.4381 173.4548 173.4591 173.4652 173.4674 181 181.2784 181.3007 181.3263 181.3494 181.3741 181.3870 181.3986 181.4096 181.4203 181.4318 181.4445 181.4538 181.4668 181.4789 181.4892 181.5004 181.5087 181.5192 181.5281 181.5374 181.5451 181.5540 182 182.2371 182.2574 182.2757 182.2949 182.3208 182.3341 182.3458 182.3569 182.3684 182.3911 182.4015 182.4129 182.4231 182.4323 182.4505 182.4608 182.4892 182.5107 183 183.2153 183.2407 183.2635 183.2940 183.3283 183.3647 183.3795 183.3975 183.4139 183.4284 183.4458 183.4588 183.4726 183.4886 183.5025 customDfaAssert idea10 maia master nika revert-510-master x0x xena
Nothing to show
Clone or download
Latest commit 0598b96 Dec 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea IDEA project configuration: raise minimum required Kotlin version to … Dec 14, 2018
RegExpSupport faster initialization of some ParserDefinitions Dec 10, 2018
aether-dependency-resolver code cleanup for code review IDEA-CR-39222 IDEA-200003 Nov 8, 2018
bin linux-menubar: show swing-menu in full screen mode Nov 15, 2018
build IDEA-158855 Windows installer starts uninstaller even when clicking back Dec 14, 2018
colorSchemes RUBY-23168: ensure same color experience for non-default schemes Dec 2, 2018
community-guitests [gui-test] fixing DockedModeGuiTest (GUI-222) Dec 13, 2018
community-resources ui: use 'snapshot' suffix for IDEA builds from 'master' (IDEA-CR-41116) Dec 11, 2018
edu edutools plugin from Beta channel Dec 3, 2018
images IDEA-203942 SVGLoader incorrectly interprets svg document size Dec 10, 2018
java OptionalUtil refactoring Dec 14, 2018
jps compilingTool to declare if "javac tree API" is supported Dec 13, 2018
json tests: drop PSI caches after configuration changes affecting referenc… Dec 14, 2018
jvm DeprecationInspection speedup: avoid unnecessary uast tree traversing. Dec 5, 2018
lib move jdk annotations from ICS plugin to community Dec 9, 2018
license linux-menubar: remove link to jayatana.jar Sep 18, 2018
native linux-menubar: show swing-menu in full screen mode Nov 15, 2018
platform ReferenceProvidersRegistry: cache contributed references Dec 14, 2018
plugins OptionalUtil refactoring Dec 14, 2018
python test refactored to reuse getFormattedTestTree Dec 13, 2018
resources-en report unsupported statements Nov 16, 2018
resources Revert "Do not show autopopup if it contains only live templates" Dec 13, 2018
spellchecker spell checker: ensure that PCE thrown from splitter doesn't cancel fi… Dec 12, 2018
tools reduce logging in universal stubs generation Oct 29, 2018
uast [uast-patterns] `UastPatterns.stringLiteralExpression` deprecation Dec 13, 2018
updater [updater] detects and applies changes in executable flag Nov 30, 2018
xml IDEA-CR-39880: Added possibility to disable duplicated messages check… Dec 13, 2018
.gitattributes typo Aug 31, 2018
.gitignore Exclude project settings in python helpers from VCS Oct 29, 2018
CONTRIBUTING.md CONTRIBUTING.md: add link to electronic submission of CLA Jan 2, 2018
LICENSE.txt Copyright year was fixed (IDEA-197845) Sep 3, 2018
NOTICE.txt use https Dec 19, 2014
README.md Note that there are no tags in the github repository, provide scripts… Nov 7, 2018
build.txt platform: base build number set to 191 Oct 9, 2018
build.xml build scripts: increase Xmx for community build process to fix OOM (I… Aug 6, 2018
fetch-tag.sh Note that there are no tags in the github repository, provide scripts… Nov 7, 2018
getPlugins.bat android plugin included into community project Sep 10, 2014
getPlugins.sh android plugin included into community project Sep 10, 2014
intellij.idea.community.main.iml Add support for .editorconfig language Oct 5, 2018
list-tags.sh Note that there are no tags in the github repository, provide scripts… Nov 7, 2018
test-log.xml [tests] SocketLock logging May 24, 2017

README.md

IntelliJ IDEA Community Edition official JetBrains project

These instructions will help you build IntelliJ IDEA Community Edition from source code, which is the basis for IntelliJ Platform development. The following conventions will be used to refer to directories on your machine:

  • <USER_HOME> is your home directory.
  • <IDEA_HOME> is the root directory for the IntelliJ source code.
  • <JDK_16_HOME> is the root directory for the 1.6 JDK, which is optional.
  • <JDK_18_HOME> is the root directory for the 1.8 JDK.

Getting IntelliJ IDEA Community Edition Source Code

IntelliJ IDEA Community Edition source code is available from github.com/JetBrains/intellij-community by either cloning or downloading a zip file (based on a branch) into <IDEA_HOME>. The default is the master branch.

The master branch contains the source code which will be used to create the next major version of IntelliJ IDEA. The branch names and build numbers for older releases of IntelliJ IDEA can be found on the page of Build Number Ranges.

If you intend to make open source contributions to the IntelliJ Platform, see Contributing to the IntelliJ Project for more information.

Tags: The GitHub repository doesn't contain any tags for performance reasons. If you need to check out a tag, fetch it from the repository mirror which contains all of them. There are scripts fetch-tag.sh and list-tags.sh which simplify the task.

Speed Tip: If the complete repository history isn't needed then using a shallow clone (git clone --depth 1) will save significant time.

These Git operations can also be done through the IntelliJ IDEA user interface.

IntelliJ IDEA Community Edition requires additional Android modules from separate Git repositories. To clone these repositories, run one of the getPlugins scripts located in the <IDEA_HOME> directory. These scripts clone their respective master branches.

  • getPlugins.sh for Linux or macOS.
  • getPlugins.bat for Windows.

Note: Always git checkout the intellij-community, android, and android/tools-base Git repositories to the same branches/tags.

Building IntelliJ Community Edition

Version 2018.2 or newer of IntelliJ IDEA Community Edition or IntelliJ IDEA Ultimate Edition is required to build and develop for the IntelliJ Platform.

Opening the IntelliJ Source Code for Build

Using IntelliJ IDEA File | Open, select the <IDEA_HOME> directory.

IntelliJ Build Configuration

JDK version 1.8 (u91 or newer) is required for building and developing for IntelliJ IDEA Community Edition.

  1. Using IntelliJ IDEA, configure a JDK named "1.8", pointing to <JDK_18_HOME>.
    • If not already present, add <JDK_18_HOME>/lib/tools.jar to the Classpath tab for the 1.8 JDK.
  2. Also configure a JDK named "IDEA jdk" (case sensitive), pointing to <JDK_16_HOME>. If you don’t want to install JDK 1.6 then you may configure IDEA jdk to point to <JDK_18_HOME>. However, you must be careful to avoid using Java 8 APIs in IntelliJ IDEA Community Edition modules that use IDEA jdk.
    • If not already present, add the corresponding path for tools.jar to the Classpath for "IDEA jdk" JDK.
  3. If the Maven Integration plugin is disabled, add the path variable "MAVEN_REPOSITORY" pointing to <USER_HOME>/.m2/repository directory.
  4. Speed Tip: If you have enough RAM on your computer, configure the compiler settings to enable the "Compile independent modules in parallel" option. Also set the "User-local build process VM options" to -Xmx2G. These changes will greatly reduce the compile time.

Building the IntelliJ Application Source Code

To build IntelliJ IDEA Community Edition from source, choose Build | Build Project from the main menu.

To build installation packages, run the ant command in <IDEA_HOME> directory. See the build.xml file for details.

Running IntelliJ IDEA

To run the IntelliJ IDEA built from source, choose Run | Run from the main menu. This will use the preconfigured run configuration "IDEA".

To run tests on the build, apply these setting to the Run | Edit Run Configurations... | Defaults | JUnit configuration tab:

  • Working dir: <IDEA_HOME>/bin
  • VM options:
    • -ea
    • -Djava.system.class.loader=com.intellij.util.lang.UrlClassLoader
    • -Didea.config.path=../test-config
    • -Didea.system.path=../test-system

You can find other helpful information at http://www.jetbrains.org. The contribute section of that site describes how you can contribute to IntelliJ IDEA.