IntelliJ IDEA Community Edition
Switch branches/tags
webstorm/183.2950 webstorm/183.2943 webstorm/183.2940.4 webstorm/183.2940.1 webstorm/183.2932 webstorm/183.2925 webstorm/183.2918 webstorm/183.2914 webstorm/183.2899 webstorm/183.2894 webstorm/183.2872 webstorm/183.2852 webstorm/183.2825 webstorm/183.2823 webstorm/183.2820 webstorm/183.2815 webstorm/183.2808 webstorm/183.2802 webstorm/183.2793 webstorm/183.2787 webstorm/183.2778 webstorm/183.2772 webstorm/183.2771 webstorm/183.2769 webstorm/183.2759 webstorm/183.2750 webstorm/183.2736 webstorm/183.2723 webstorm/183.2721 webstorm/183.2705 webstorm/183.2703 webstorm/183.2695 webstorm/183.2684 webstorm/183.2675 webstorm/183.2664 webstorm/183.2657 webstorm/183.2651 webstorm/183.2635.17 webstorm/183.2635.15 webstorm/183.2635.4 webstorm/183.2635.1 webstorm/183.2634 webstorm/183.2624 webstorm/183.2623 webstorm/183.2618 webstorm/183.2612 webstorm/183.2603 webstorm/183.2585 webstorm/183.2573 webstorm/183.2567 webstorm/183.2554 webstorm/183.2543 webstorm/183.2542 webstorm/183.2540 webstorm/183.2539 webstorm/183.2520 webstorm/183.2519 webstorm/183.2498 webstorm/183.2488 webstorm/183.2476 webstorm/183.2459 webstorm/183.2458 webstorm/183.2449 webstorm/183.2440 webstorm/183.2439 webstorm/183.2437 webstorm/183.2429 webstorm/183.2428 webstorm/183.2426 webstorm/183.2425 webstorm/183.2421 webstorm/183.2420 webstorm/183.2417 webstorm/183.2413 webstorm/183.2407.4 webstorm/183.2407.1 webstorm/183.2406 webstorm/183.2397 webstorm/183.2396 webstorm/183.2394 webstorm/183.2393 webstorm/183.2386 webstorm/183.2381 webstorm/183.2375 webstorm/183.2369 webstorm/183.2346 webstorm/183.2320 webstorm/183.2310 webstorm/183.2305 webstorm/183.2300 webstorm/183.2286 webstorm/183.2282 webstorm/183.2281 webstorm/183.2272 webstorm/183.2271 webstorm/183.2269 webstorm/183.2268 webstorm/183.2261 webstorm/183.2254 webstorm/183.2243
Nothing to show
Clone or download
donnerpeter an ability to disable preloading activities
to see if it helps IDEA-198112 IDEA slow and freezy startup
Latest commit 436ce32 Sep 25, 2018
Permalink
Failed to load latest commit information.
.idea use sudo if attach failed Sep 24, 2018
RegExpSupport ensure ErrorElement is created with notnull description to avoid anno… Sep 24, 2018
aether-dependency-resolver cleanup: remove 'public' modifier from constructors in non-public cla… Sep 6, 2018
bin linux-menubar: support mnemonics Sep 24, 2018
build Updating versions of project dependencies: jdkBuild->u152b1343.2 Sep 24, 2018
colorSchemes fix blackboard scheme Sep 10, 2018
community-guitests IDEA-191859: added regression GUItest running with dtrace Sep 19, 2018
community-resources IDEA 2018.3 EAP artwork Sep 12, 2018
edu gradle-wrapper — update gradle to 4.10 Sep 3, 2018
images cleanup: replace list.stream().filter.collect(toList()) with Containe… Sep 24, 2018
java disable showing parameter hints on completion if method overload was … Sep 25, 2018
jps optionally display builder times in compiler messages view Sep 24, 2018
json deprecate Extensions.getExtensions(ExtensionPointName) in favour of E… Sep 25, 2018
jvm Update inspections descriptions according to the style Sep 24, 2018
lib [project] updates ASM with 6.2 Interpreter API compatibility patch (I… Sep 19, 2018
license linux-menubar: remove link to jayatana.jar Sep 18, 2018
native linux-menubar: support mnemonics Sep 24, 2018
platform an ability to disable preloading activities Sep 25, 2018
plugins junit 5: when search in single module, narrow the classpath down to t… Sep 25, 2018
python deprecate Extensions.getExtensions(ExtensionPointName) in favour of E… Sep 25, 2018
resources-en IDEA-197854 Always use debug agent - configuration ui Sep 3, 2018
resources test tree -> async (IDEA-198856) Sep 13, 2018
spellchecker deprecate Extensions.getExtensions(ExtensionPointName) in favour of E… Sep 25, 2018
tools Restore ProductiveMe copyrights (IDEA-CR-35682) Aug 3, 2018
uast restore bug compatibility Sep 24, 2018
updater jbdiff: remove manual GC invocation from the sort/patch methods Sep 25, 2018
xml deprecate Extensions.getExtensions(ExtensionPointName) in favour of E… Sep 25, 2018
.gitattributes typo Aug 31, 2018
.gitignore Add usage statistics to gitignore Jun 4, 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 IDEA project configuration: set minimum required IDE version for IDEA… Sep 5, 2018
build.txt platform: base build number set to 183 Jun 13, 2018
build.xml build scripts: increase Xmx for community build process to fix OOM (I… Aug 6, 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 [project structure] community.main: revert "Test" dependencies, misse… Aug 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.

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 Mac OS.
  • 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

Versions 2018.2 and newer of IntelliJ IDEA Community Edition or IntelliJ IDEA Ultimate Edition are 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 is required for building and developing for IntelliJ IDEA Community Edition.

  1. Using IntelliJ IDEA, configure a JSDK 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 JSDK.
  2. Also configure a JSDK 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" JSDK.
  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.