title | redirect_from | |
---|---|---|
IDE Development Instances - Settings, Caches, Logs, and Plugins |
|
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.
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
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/
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
orsystem\caches
holds the IDE instance data.system/log
orsystem\log
contains theidea.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.