Directories used by the IDE to store settings, caches, plugins and logs

Location of the IDE files depends on the operating system, product and version.

Should you need to change the defaults, refer to this document.

 

Windows

All the files are located under this directory by default:

  • Windows Vista, 7, 8, 10:
<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>
  • Windows XP:
<SYSTEM DRIVE>\Documents and Settings\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>

Sample paths for different products

  • IntelliJ IDEA 14 Ultimate Edition:
c:\Users\John\.IntelliJIdea14\
  • IntelliJ IDEA 14 Community Edition:
c:\Users\John\.IdeaIC14\
  • PhpStorm 2016.1:
c:\Users\John\.PhpStorm2016.1\
  • WebStorm 11.0:
c:\Users\John\.WebStorm11\
  • RubyMine 7.1:
c:\Users\John\.RubyMine71\
  • PyCharm 4.5:
c:\Users\John\.PyCharm45\

Sub-directories

Under this directory you'll find the following sub-directories

  • config: configuration (idea.config.path)
  • config\plugins: plugins (idea.plugins.path)
  • system: caches, local history, etc (idea.system.path)
  • system\log: logs and thread dumps (idea.log.path)
You can find more details about what is stored in each folder in the Project and IDE Settings documentation section.
 
 

Linux and other Unix systems

Product directory starting with dot can be found in your user home directory, the pattern is:

 ~/.<PRODUCT><VERSION>

~ is an alias for the home directory, for example /home/john.

 

Mac OS X

  • Configuration (idea.config.path):
~/Library/Preferences/<PRODUCT><VERSION>
  • Caches (idea.system.path):
~/Library/Caches/<PRODUCT><VERSION>
  • Plugins (idea.plugins.path):
~/Library/Application Support/<PRODUCT><VERSION>
  • Logs (idea.log.path):
~/Library/Logs/<PRODUCT><VERSION>

 

PRODUCT would be one of the following:

  • IntelliJIdea (IntelliJ IDEA Ultimate Edition)
  • IdeaIC (IntelliJ IDEA Community Edition)
  • RubyMine
  • WebIde (PhpStorm versions before 2016.1 and WebStorm before 7.0 use this common directory)
  • PhpStorm (PhpStorm starting from 2016.1 version)
  • WebStorm (WebStorm starting from 7.0 version)
  • PyCharm
  • AppCode
  • CLion
  • DataGrip
  • AndroidStudio
  • Rider
61 comments
Comment actions Permalink

Today I use the latest version of PhpStorm (7.0  .WebIde70)

and I have old big directories .WebIde50,.WebIde60. .

Can I safely delete these two directories.

1
Comment actions Permalink

Pascal, yes, you can remove these folders if you don't plan to run the old IDE versions.

5
Comment actions Permalink

What if the .<PRODUCT><VERSION> directory doesn't exist? I get an error at startup (created a ticket in YouTrack), but I can't find that directory.  Intellij crashes at startup, just right after the splash screen.

0
Comment actions Permalink

Debakkerbjorn, try to override the default values with the path where you have full write permissions.

0
Comment actions Permalink

I use Intellij 11.1.5 and I can't find these directories either. Is this information still current for version 11? This is very frustrating. I get an error at startup but cannot find logs, preferences in these locations.

0
Comment actions Permalink

Just to add, I am using Mac OS Mavericks and I don't find a single one of the directories you claim above that I should find. 

1
Comment actions Permalink

Barclay Dunn, yes, this information is actual for IntelliJ IDEA 11.1.5. Make sure to look under your home directory. Finder may hide these directories by default, show hidden files via cmd+shift+. (dot) can help to find them. Note that ~ stands for /Users/<user>.

2
Comment actions Permalink

Aw crap, I totally overlooked the ~. The files are there as you say.

2
Comment actions Permalink

Due to this Bug in the JDK on Windows System.getProperty("user.home") is NOT always:

<SYSTEM DRIVE>\Users<USER ACCOUNT NAME>.<PRODUCT><VERSION>

Instead the JDK uses the parent folder of the "Desktop" folder from a registry key.

 

See: http://bugs.java.com/view_bug.do?bug_id=4787931

1
Comment actions Permalink

Maximilian, indeed, this issue is mentioned in our KB with a link to the same bug.

0
Comment actions Permalink

Please add 'appCode' to the OS X product list. I've spend some time searching for it. Unlike others, it begins with little leading character

0
Comment actions Permalink

The open project dialog path always defaults to my home directory (I am using Linux).   Can I change the default location of my projects?

0
Comment actions Permalink

IDE remembers the last folder where you have created a project using the wizard. Next time you create the project, the same folder will be suggested.

0
Comment actions Permalink

I successfully updated PhpStorm from 7.1 to 8.0 but didn't act to import settings from existing IDE at the very first screen. Later import of these settings didn't create my recent projects. Removing all directories as used by the IDE and listed here (Mac OSX) helped me, to restart the update process, and all was fine. Thx for this.

0
Comment actions Permalink

I find it easier to move configuration folder to another location (SSD or another drive) and just create a soft link pointing to it. This way it's transparent to Intellij and there is no need to change the configs.

0
Comment actions Permalink

I can't to see to find any of the mentioned directories on Yosemite using 8.0.3 EAP 139.873.

0
Comment actions Permalink

[edit]

I can't to see to find any of the mentioned directories on Yosemite using PhpStorm 8.0.3 EAP 139.873.

0
Comment actions Permalink

Alright, found it at:

/Users/<USER>/Library/Preferences/WebIde80/ for phpStorm

0
Comment actions Permalink

I found the ~/.IdeaICXX/ directory (trying to add a plugin), but once I enter it, the only other directory in it is "restart." There's no "Library" directory....

I'm running Mavericks 10.9.5.  

0
Comment actions Permalink

Macs. Unhide the library folder... 

http://www.macworld.com/article/2057221/how-to-view-the-library-folder-in-mavericks.html

 

command-J in my user folder worked the simplest

0
Comment actions Permalink

This does not appear to be correct on a Mac. I have upgraded to PyCharm 4.5.1 and accidentally opened an old version of PyCharm 4 that was still on my system. At startup, Pycharm reported certain plugins/configs were not compatible or could not be found (maybe they were not backwards compatible?) and what seemed to happen is that PyCharm got set back to default settings. In other words, all of my customizations, configurations, projects, etc were wiped out. I tried restoring the directories from a Time Machine backup, but this did not help. So there must be some other location this information is stored on a Mac. I can't even begin to think about how many hours/days I've wasted by these settings getting wiped. It will take me forever to rebuild them all from scratch :(

0
Comment actions Permalink

I have installed Webstorm 10.0.3 on OSX 10.10.3 and Caches foldes for Webstorm can´t be found in anywhere. It is definitely not in the ~/Library/Caches/ folder. I have just installed Webstorm with default settings. How can I identify where Caches for Webstorm er placed?

0
Comment actions Permalink

You need to run IDE at least once for the folders to be created. This document is accurate, the folders should be there, see also https://www.jetbrains.com/webstorm/help/directories-used-by-webstorm-to-store-settings-caches-plugins-and-logs.html .

0
Comment actions Permalink

Serge, I have been running Webstorm for 3 years..

0
Comment actions Permalink

Use Help menu, Reveal Log action, you'll be navigated into the logs folder that is inside the caches folder. What's the folder used which you were not able to find at the specified location?

0
Comment actions Permalink

Serge, I was talking about Caches folder, and not Logs folder. Logs folder is found at path /Users/<USER>/Library/Logs/WebStorm10 but there was  no /Users/<USER>/Library/Caches folder before I actually quit Webstorm now and I listed all files  again in the Library/Caches. Now I can find Webstorm10 folder in Library/Caches.

Im struggling with a bug in Webstorm which sometimes give me an error popup saying "Low disk space on a Webstorm system directory partition" and I think I understand now why. It seems like Webstorm10 folder is getting deleted from Caches..

0
Comment actions Permalink

This is weird, IDE cannot work at all without caches.

0
Comment actions Permalink

I have a problem where when I open PyCharm I get the dialog: "The last time you opened PyCharm, it unexpectedly quit while trying to reopen windows. Do you want to try to reopen it's windows again? | Don't ReOpen | Reopen"

Clicking either option causes PyCharm to Crash and so I'm stuck and unable to open PyCharm. Anyone know of some file I can delete to get PyCharm to open without trying to recover old windows?

0
Comment actions Permalink

Mac OS X 10.9.5. I've tried removing all of the directories listed above for PyCharm with no success.

0
Comment actions Permalink

Matt, please submit a ticket to support with idea.log attached (https://intellij-support.jetbrains.com/entries/23352446).

1

Please sign in to leave a comment.

Have more questions?

Submit a request