Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 2.61 KB

ide_development_instance.md

File metadata and controls

41 lines (34 loc) · 2.61 KB
title redirect_from
IDE Development Instances - Settings, Caches, Logs, and Plugins
/basics/settings_caches_logs.html

A JetBrains feature for developing plugins is to run or debug a plugin project from within a JetBrains IDE, e.g. IntelliJ IDEA. Selecting the Run menu will launch a Development Instance of the IDE with your plugin enabled.

The Sandbox Home directory contains the settings, caches, logs, and plugins for a Development Instance of the IDE. This information is stored in a different location than for the installed IDE itself.

Sandbox Home Location for Gradle-Based Plugin Projects

For Gradle-based plugins, the default Sandbox Home location is defined by the IntelliJ Platform gradle-intellij-plugin. See Configuring a Gradle Plugin Project for more information about specifying a Sandbox Home location. The default Sandbox Home location for Gradle-based plugin projects is:

  • Windows <Project Dir>\build\idea-sandbox
  • Linux or macOS <Project Dir>/build/idea-sandbox

Sandbox Home Location for DevKit-Based Plugin Projects

For DevKit-based plugins, the default Sandbox Home location is defined in the IntelliJ Platform Plugin SDK. See specifying the Sandbox Home for DevKit Projects for more information. The default Sandbox Home directory location for DevKit-based plugin projects is:

  • Windows: <User home>\.<product_system_name><product_version>\system\plugins-sandbox\
  • Linux: ~/.<product_system_name><product_version>/system/plugins-sandbox/
  • macOS ~/Library/Caches/<product_system_name><product_version>/plugins-sandbox/

Development Instance Settings, Caches, Logs, and Plugins

Within the Sandbox Home directory are subdirectories pertaining to the Development Instance:

  • config contains settings for the IDE instance.
  • plugins contains folders for each plugin being run in the IDE instance.
  • system/caches or system\caches holds the IDE instance data.
  • system/log or system\log contains the idea.log file for the IDE instance.

Each of these Sandbox Home subdirectories can be manually cleared to reset the IDE Development Instance. At the next launch of a Development Instance the subdirectories will be repopulated with the appropriate information.