IntelliJ Platform Plugin SDK Help

Configuring a Plugin for Split Mode

Split Mode configuration in the Gradle build script allows for running development sandbox IDEs in mode emulating the remote development scenario, with both frontend and backend processes running locally. To make a plugin work natively in split mode, see plugin modularization.

Basic Configuration

Enable Split Mode in the intellijPlatform {} extension:

intellijPlatform { splitMode = true splitModeTarget = SplitModeAware.SplitModeTarget.BOTH }

The two relevant properties are:

Choosing the Installation Target

Choose splitModeTarget according to the code being exercised:

  • BACKEND for backend-only functionality

  • FRONTEND for frontend-only functionality

  • BOTH for typical modular plugins that contain frontend, backend, and shared modules

For split plugin development, BOTH is the most common choice.

Custom Run and Test Tasks

Custom split-mode tasks can be declared with intellijPlatformTesting:

val runIdeSplitMode by intellijPlatformTesting.runIde.registering { splitMode = true splitModeTarget = SplitModeAware.SplitModeTarget.BOTH } val testIdeUiSplitMode by intellijPlatformTesting.testIdeUi.registering { splitMode = true splitModeTarget = SplitModeAware.SplitModeTarget.BOTH }

These tasks get dedicated sandboxes and can be used like other development or test tasks. See IntelliJ Platform Testing Extension for more details.

Typical Next Step

After the Gradle configuration is in place, the next step is deciding how the plugin code should be distributed between frontend, backend, and shared modules. See Implementing a Feature for Split Mode.

02 April 2026