I am having some low level issues with IntelliJ on my mac, I really want to just zero everything out and start over. But even after removing the application and re-installing it, IntelliJ still remembers things like what the last project was, what licensing key to use etc. Where is this information stored? And what is the best way to clear it out?
-
1Good question. I wonder if it would be a better fit on Super User (as it's not really a programming q) though. On the other hand, SO surely is full of IDE settings questions...– JonikMay 5, 2010 at 15:27
7 Answers
Normally information like this will be found in one of the following places in OS X:
/Users/username/Library/Preferences/AppName
/Users/username/Library/Preferences/com.appname.plist
/Users/username/Library/Application Support/AppName
/Library/Preferences/AppName
/Library/Preferences/com.appname.plist
/Library/Application Support/AppName
If the app adheres to the standard OS X conventions you weill find info in one or all of these places. If it doesnt store here you might check for a /Users/username/.intellij
folder or something similar in your home directory
-
2Perfect! The data was stored across: /Users/username/Library/Preferences/AppName /Users/username/Library/Preferences/com.appname.plist– kalak451May 5, 2010 at 15:09
-
1BTW, this also happens in Windows, one thing is the installation and other the personal configuration.– OscarRyzMay 5, 2010 at 15:21
-
3There is more stuff, like /Library/Caches You can run find / -iname intellij 2>/dev/null to find all Intellij related files. Nov 21, 2011 at 1:51
-
3@WojciechBednarski Markdown ate the *s you need around intellij. Jul 6, 2012 at 20:09
-
I just ran through this and here is the list of files that I had to delete for IntelliJ 13:
~/Library/Preferences/com.jetbrains.intellij.plist
~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
~/Library/Preferences/IntelliJIdea13
~/Library/Caches/IntelliJIdea13
~/Library/Application Support/IntelliJIdea13
~/Library/Caches/com.jetbrains.intellij
~/Library/Logs/IntelliJIdea13
~/Library/Saved Application State/com.jetbrains.intellij.savedState
-
I also had this path for IntelliJ 11.1.2:
~/Library/Caches/com.jetbrains.intellij
Jul 6, 2012 at 19:58 -
1oh, and two more under ~:
~/Library/Logs/IntelliJIdea11, ~/Library/Saved Application State/com.jetbrains.intellij.savedState
Jul 6, 2012 at 20:08 -
-
This list looks like it worked for removing IntelliJ 13 EAP. Of course, each directory is now IntelliJIdea13.– David VDec 3, 2013 at 16:31
-
Super helpful! I actually found out that I had a lot of IntelliJ 12 settings and some EAP stuff which was making IntelliJ unstable. Nov 29, 2014 at 1:49
For AppCode (Objective C IDE) 1.0.4, on OSX, the path is: ~/Library/Preferences/appCode10
I just checked, and IntelliJ IDEA (at least 9.x versions) seems to store its global settings in
~/Library/Preferences/IntelliJIdea90CE/
Update: IntelliJ IDEA 10 uses ~Library/Preferences/IntelliJIdea10/
and 12 ~Library/Preferences/IntelliJIdea12/
. You'll probably find it for whatever version you're on.
(Where ~ is your home directory.)
Best way to clear it? Well, just delete the whole directory. :-) Or, if you suspect there might be something useful there after all, move it to a new name.
run the following commands in terminal to remove completely. worked for me
rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist
rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
rm -Rf ~/Library/Caches/com.jetbrains.intellij*
rm -Rf ~/Library/Logs/IntelliJIdea13
rm -Rf ~/Library/Saved Application State/com.jetbrains.intellij.savedState
rm -Rf /Applications/IntelliJ*
rm -Rf ~/Library/Preferences/IntelliJ*
rm -Rf ~/Library/Preferences/com.google.intellij.*
rm -Rf ~/Library/Preferences/com.intellij.*
rm -Rf ~/Library/Application\ Support/IntelliJ*
rm -Rf ~/Library/Logs/IntelliJ*
rm -Rf ~/Library/Caches/IntelliJ*
rm -Rf ~/.IntelliJ*
rm -Rf ~/Library/Intellij*
For those with newer versions like 2016, here's a guide to tell you all the places where IntelliJ can be at:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519
This always does it for me:
find ~/Library -type d -name 'IdeaIC*' -exec rm -rf {} ';'