在OS X上的IntelliJ,你如何清除所有的全球设置信息,许可等(任何项目的外部)

我的Mac上有一些IntelliJ的低级别问题,我真的想把所有的东西都清理出来,重新开始。 但即使在删除应用程序并重新安装之后,IntelliJ仍然记得最后一个项目是什么,使用什么授权密钥等。这些信息存储在哪里? 清除它的最好方法是什么?

通常这样的信息可以在OS X的以下地方find:

/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

如果应用程序遵循标准的OS X惯例,您可以在一个或所有这些地方find信息。 如果它不存储在这里,你可能会检查/Users/username/.intellij文件夹或类似的东西在你的主目录

我刚刚通过这个,这里是我不得不删除的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 

对于AppCode(Objective C IDE)1.0.4,在OSX上,path是:〜/ Library / Preferences / appCode10

我刚刚检查,并且IntelliJ IDEA(至less9.x版本)似乎将其全局设置存储在~/Library/Preferences/IntelliJIdea90CE/

更新:IntelliJ IDEA 10使用〜Library ~Library/Preferences/IntelliJIdea10/~Library/Preferences/IntelliJIdea10/ ~Library/Preferences/IntelliJIdea12/ 。 你可能会发现它的任何版本,你在。

(哪里〜是你的主目录。)

最好的方法来清除它? 那么,只要删除整个目录。 :-)或者,如果你怀疑那里可能有些有用的东西,把它移到一个新的名字。

对于像2016年这样的新版本的用户来说,这里有一个指导,告诉你所有IntelliJ可以在的地方:

https://intellij-support.jetbrains.com/hc/en-us/articles/206544519